From 7e6b4782c09ed0cc14ead031fc35355c844faa1e Mon Sep 17 00:00:00 2001 From: P4T12ICK Date: Fri, 16 Dec 2022 15:03:11 +0100 Subject: [PATCH] guacamole ignore errors --- packer/ansible/roles/guacamole/tasks/setup_tomcat.yml | 5 +++-- packer/ansible/splunk_server.yml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packer/ansible/roles/guacamole/tasks/setup_tomcat.yml b/packer/ansible/roles/guacamole/tasks/setup_tomcat.yml index 103f40c3..8f7b2496 100644 --- a/packer/ansible/roles/guacamole/tasks/setup_tomcat.yml +++ b/packer/ansible/roles/guacamole/tasks/setup_tomcat.yml @@ -6,15 +6,16 @@ - name: Download Apache Tomcat get_url: - url: https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.69/bin/apache-tomcat-9.0.69.tar.gz + url: https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.70/bin/apache-tomcat-9.0.70.tar.gz dest: /tmp/apache-tomcat.tar.gz + - name: Extract the tar file to the /opt/tomcat directory shell: cmd: | sudo mkdir /opt/tomcat sudo tar -xzf /tmp/apache-tomcat.tar.gz -C /opt/tomcat/ - sudo mv /opt/tomcat/apache-tomcat-9.0.69 /opt/tomcat/tomcatapp + sudo mv /opt/tomcat/apache-tomcat-9.0.70 /opt/tomcat/tomcatapp - name: Give neccessary permissions shell: diff --git a/packer/ansible/splunk_server.yml b/packer/ansible/splunk_server.yml index 969f6748..02fd52e3 100644 --- a/packer/ansible/splunk_server.yml +++ b/packer/ansible/splunk_server.yml @@ -9,4 +9,5 @@ - role: splunk_server when: use_prebuilt_images_with_packer == "0" - role: guacamole + ignore_errors: yes when: use_prebuilt_images_with_packer == "0" \ No newline at end of file