From 05b676f5dd7c971c8fd9abec19bd31f0d0fb4b63 Mon Sep 17 00:00:00 2001 From: uap32-r Date: Mon, 13 Dec 2021 16:36:14 +0100 Subject: [PATCH] Revert "ansible tomcat" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a78a76e312e57c49170b6680bcac6dc6f51071c8. supprimé : SDIS29ansible/ansible/.ppebase.yml.swp supprimé : SDIS29ansible/ansible/.test.yml.swp supprimé : SDIS29ansible/ansible/hosts supprimé : SDIS29ansible/ansible/invent supprimé : SDIS29ansible/ansible/roles/db/handlers/main.yml supprimé : SDIS29ansible/ansible/roles/db/tasks/main.yml supprimé : SDIS29ansible/ansible/roles/tomcat/defaults/main.yml supprimé : SDIS29ansible/ansible/roles/tomcat/handlers/main.yml supprimé : SDIS29ansible/ansible/roles/tomcat/tasks/main.yml supprimé : SDIS29ansible/ansible/roles/tomcat/templates/context.xml.j2 supprimé : SDIS29ansible/ansible/roles/tomcat/templates/tomcat-users.xml.j2 supprimé : SDIS29ansible/ansible/roles/tomcat/templates/tomcat.service.j2 supprimé : SDIS29ansible/ansible/roles/tomcat/vars/main.yml supprimé : SDIS29ansible/ansible/tomcat-setup.yml --- SDIS29ansible/ansible/.ppebase.yml.swp | Bin 1024 -> 0 bytes SDIS29ansible/ansible/.test.yml.swp | 0 SDIS29ansible/ansible/hosts | 3 - SDIS29ansible/ansible/invent | 1 - .../ansible/roles/db/handlers/main.yml | 15 ---- SDIS29ansible/ansible/roles/db/tasks/main.yml | 41 ---------- .../ansible/roles/tomcat/defaults/main.yml | 3 - .../ansible/roles/tomcat/handlers/main.yml | 4 - .../ansible/roles/tomcat/tasks/main.yml | 73 ------------------ .../roles/tomcat/templates/context.xml.j2 | 19 ----- .../tomcat/templates/tomcat-users.xml.j2 | 44 ----------- .../roles/tomcat/templates/tomcat.service.j2 | 22 ------ .../ansible/roles/tomcat/vars/main.yml | 2 - SDIS29ansible/ansible/tomcat-setup.yml | 14 ---- 14 files changed, 241 deletions(-) delete mode 100644 SDIS29ansible/ansible/.ppebase.yml.swp delete mode 100644 SDIS29ansible/ansible/.test.yml.swp delete mode 100644 SDIS29ansible/ansible/hosts delete mode 100644 SDIS29ansible/ansible/invent delete mode 100644 SDIS29ansible/ansible/roles/db/handlers/main.yml delete mode 100644 SDIS29ansible/ansible/roles/db/tasks/main.yml delete mode 100644 SDIS29ansible/ansible/roles/tomcat/defaults/main.yml delete mode 100644 SDIS29ansible/ansible/roles/tomcat/handlers/main.yml delete mode 100644 SDIS29ansible/ansible/roles/tomcat/tasks/main.yml delete mode 100644 SDIS29ansible/ansible/roles/tomcat/templates/context.xml.j2 delete mode 100644 SDIS29ansible/ansible/roles/tomcat/templates/tomcat-users.xml.j2 delete mode 100644 SDIS29ansible/ansible/roles/tomcat/templates/tomcat.service.j2 delete mode 100644 SDIS29ansible/ansible/roles/tomcat/vars/main.yml delete mode 100644 SDIS29ansible/ansible/tomcat-setup.yml diff --git a/SDIS29ansible/ansible/.ppebase.yml.swp b/SDIS29ansible/ansible/.ppebase.yml.swp deleted file mode 100644 index a263f087f2fba71aa55b7f98820f0fb34d8fbbef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcmYc?$V<%2S1{ExVL$ - - - diff --git a/SDIS29ansible/ansible/roles/tomcat/templates/tomcat-users.xml.j2 b/SDIS29ansible/ansible/roles/tomcat/templates/tomcat-users.xml.j2 deleted file mode 100644 index dd9bff3..0000000 --- a/SDIS29ansible/ansible/roles/tomcat/templates/tomcat-users.xml.j2 +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - diff --git a/SDIS29ansible/ansible/roles/tomcat/templates/tomcat.service.j2 b/SDIS29ansible/ansible/roles/tomcat/templates/tomcat.service.j2 deleted file mode 100644 index e0d34bd..0000000 --- a/SDIS29ansible/ansible/roles/tomcat/templates/tomcat.service.j2 +++ /dev/null @@ -1,22 +0,0 @@ -[Unit] -Description=Tomcat -After=syslog.target network.target - -[Service] -Type=forking - -User=tomcat -Group=tomcat - -Environment=JAVA_HOME={{ JAVA_HOME }} -Environment='JAVA_OPTS=-Djava.awt.headless=true' - -Environment=CATALINA_HOME=/usr/share/tomcat -Environment=CATALINA_BASE=/usr/share/tomcat -Environment=CATALINA_PID=/usr/share/tomcat/temp/tomcat.pid - -ExecStart=/usr/share/tomcat/bin/catalina.sh start -ExecStop=/usr/share/tomcat/bin/catalina.sh stop - -[Install] -WantedBy=multi-user.target diff --git a/SDIS29ansible/ansible/roles/tomcat/vars/main.yml b/SDIS29ansible/ansible/roles/tomcat/vars/main.yml deleted file mode 100644 index aae9205..0000000 --- a/SDIS29ansible/ansible/roles/tomcat/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -JAVA_HOME: /usr/lib/jvm/default-java diff --git a/SDIS29ansible/ansible/tomcat-setup.yml b/SDIS29ansible/ansible/tomcat-setup.yml deleted file mode 100644 index 867b571..0000000 --- a/SDIS29ansible/ansible/tomcat-setup.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Tomcat deployment playbook - hosts: all # Inventory hosts group / server to act on - become: yes # If to escalate privilege - become_method: sudo # Set become method - remote_user: root # Update username for remote server - vars: - tomcat_ver: 10.0.14 # Tomcat version to install - ui_manager_user: manager # User who can access the UI manager section only - ui_manager_pass: azerty1+ # UI manager user password - ui_admin_username: admin # User who can access bpth manager and admin UI sections - ui_admin_pass: Azerty1+ # UI admin password - roles: - - tomcat