Created
August 20, 2021 14:46
-
-
Save rpelisse/7e97b53c080c5a14ea601cf6ba5cc8bc to your computer and use it in GitHub Desktop.
ansible-jws-run-log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ansible-playbook -i hosts playbook.yml | |
PLAY [JBoss Web Server installation and configuration] ************************************************************ | |
... | |
TASK [middleware_automation.jws.jws: Install required dependencies] ******************************************* | |
included: /root/.ansible/collections/ansible_collections/middleware_automation/jws/roles/jws/tasks/fastpackage.yml for localhost | |
included: /root/.ansible/collections/ansible_collections/middleware_automation/jws/roles/jws/tasks/fastpackage.yml for localhost | |
... | |
TASK [middleware_automation.jws.jws: Test if package zip is already installed] ******************************** | |
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“rpm”, “-q”, “zip”], “delta”: “0:00:00.007499”, “end”: “2021-07-22 15:59:50.925902”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-07-22 15:59:50.918403”, “stderr”: “”, “stderr_lines”: [], “stdout”: “package zip is not installed”, “stdout_lines”: [“package zip is not installed”]} | |
TASK [middleware_automation.jws.jws: If package zip is missing, install package using yum.] ******************* | |
changed: [localhost] | |
TASK [middleware_automation.jws.jws: assert] ****************************************************************** | |
ok: [localhost] | |
TASK [middleware_automation.jws.jws: Test if package unzip is already installed] ****************************** | |
ok: [localhost] | |
TASK [middleware_automation.jws.jws: include_tasks] *********************************************************** | |
included: /root/.ansible/collections/ansible_collections/middleware_automation/jws/roles/jws/tasks/java_install.yml for localhost | |
TASK [middleware_automation.jws.jws: set_fact] **************************************************************** | |
ok: [localhost] | |
TASK [middleware_automation.jws.jws: Install java-1.8.0-openjdk] ********************************************** | |
included: /root/.ansible/collections/ansible_collections/middleware_automation/jws/roles/jws/tasks/fastpackage.yml for localhost | |
... | |
TASK [middleware_automation.jws.jws: Test if package java-1.8.0-openjdk is already installed] ***************** | |
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“rpm”, “-q”, “java-1.8.0-openjdk”], “delta”: “0:00:00.007319”, “end”: “2021-07-22 15:59:53.439495”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-07-22 15:59:53.432176”, “stderr”: “”, “stderr_lines”: [], “stdout”: “package java-1.8.0-openjdk is not installed”, “stdout_lines”: [“package java-1.8.0-openjdk is not installed”]} | |
TASK [middleware_automation.jws.jws: If package java-1.8.0-openjdk is missing, install package using yum.] **** | |
changed: [localhost] | |
TASK [middleware_automation.jws.jws: Creates group: tomcat] *************************************************** | |
changed: [localhost] | |
TASK [middleware_automation.jws.jws: Creates user for tomcat: tomcat] ***************************************** | |
changed: [localhost] | |
TASK [middleware_automation.jws.jws: Ensure install dir is created: /opt] ************************************* | |
skipping: [localhost] | |
TASK [middleware_automation.jws.jws: include_tasks] *********************************************************** | |
included: /root/.ansible/collections/ansible_collections/middleware_automation/jws/roles/jws/tasks/install.yml for localhost | |
TASK [middleware_automation.jws.jws: include_tasks] *********************************************************** | |
included: /root/.ansible/collections/ansible_collections/middleware_automation/jws/roles/jws/tasks/install/zipfiles.yml for localhost | |
TASK [middleware_automation.jws.jws: set_fact] **************************************************************** | |
skipping: [localhost] | |
... | |
TASK [middleware_automation.jws.jws: Install tomcat and required binaries from local zipfiles (install method: local_zipfiles] *** | |
changed: [localhost] => (item={'src': '/opt/tomcat.zip', 'creates': '/opt/apache-tomcat-9.0.50'}) | |
... | |
TASK [middleware_automation.jws.jws: Ensures {{tomcat.home}}/{{item}}/ has appropriate privileges.] ******* | |
ok: [localhost] => (item=conf) | |
ok: [localhost] => (item=temp) | |
ok: [localhost] => (item=logs) | |
ok: [localhost] => (item=webapps) | |
ok: [localhost] => (item=bin) | |
TASK [middleware_automation.jws.jws: Ensures {{item}} has the recommended privileges, owner and group] ****** | |
changed: [localhost] => (item=/opt/apache-tomcat-9.0.50/./conf/catalina.properties) | |
changed: [localhost] => (item=/opt/apache-tomcat-9.0.50/./conf/catalina.policy) | |
changed: [localhost] => (item=/opt/apache-tomcat-9.0.50/./conf/logging.properties) | |
changed: [localhost] => (item=/opt/apache-tomcat-9.0.50/conf/tomcat-users.xml) | |
changed: [localhost] => (item=/opt/apache-tomcat-9.0.50/conf/jaspic-providers.xml) | |
TASK [middleware_automation.jws.jws: Deploy custom configuration file from {{item.template}}] *************** | |
changed: [localhost] => (item={'template': 'templates/server.xml.j2', 'dest': '/opt/apache-tomcat-9.0.50/conf/server.xml'}) | |
changed: [localhost] => (item={'template': 'templates/web.xml.j2', 'dest': '/opt/apache-tomcat-9.0.50/conf/web.xml'}) | |
changed: [localhost] => (item={'template': 'templates/context.xml.j2', 'dest': '/opt/apache-tomcat-9.0.50/conf/context.xml'}) | |
TASK [middleware_automation.jws.jws: Remove app: {{item}}] ************************************************** | |
changed: [localhost] => (item=docs) | |
changed: [localhost] => (item=ROOT) | |
changed: [localhost] => (item=examples) | |
... | |
PLAY RECAP ***************************************************************************************************** | |
localhost : ok=26 changed=9 unreachable=0 failed=0 skipped=9 rescued=2 ignored=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment