# AWX Install in Openshift Failing: "msg": "template error while templating string: no test named 'version'. String: {{ 'apps/v1' if kube\_api\_version is version('1.9', '\>=') else 'apps/v1beta1' }}"

**URL:** <https://forum.ansible.com/t/awx-install-in-openshift-failing-msg-template-error-while-templating-string-no-test-named-version-string-apps-v1-if-kube-api-version-is-version-1-9-else-apps-v1beta1/32238>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [February 14, 2020, 10:48pm UTC](https://forum.ansible.com/t/awx-install-in-openshift-failing-msg-template-error-while-templating-string-no-test-named-version-string-apps-v1-if-kube-api-version-is-version-1-9-else-apps-v1beta1/32238 "2020-02-14T22:48:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parashar\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@Parashar\_Singh](https://forum.ansible.com/u/Parashar_Singh)\
**Post date:** [February 14, 2020, 10:48pm UTC](https://forum.ansible.com/t/awx-install-in-openshift-failing-msg-template-error-while-templating-string-no-test-named-version-string-apps-v1-if-kube-api-version-is-version-1-9-else-apps-v1beta1/32238/1 "2020-02-14T22:48:41Z")

</div>

Can someone please advise, how to fix this issue while installing AWX in Openshift 3.9? I’m getting following error:

TASK [kubernetes : Determine StatefulSet api version] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:188  
fatal: [localhost]: FAILED! =\> {  
“failed”: true,  
“msg”: “template error while templating string: no test named ‘version’. String: {{ ‘apps/v1’ if kube\_api\_version is version(‘1.9’, ‘\>=’) else ‘apps/v1beta1’ }}”  
}  
to retry, use: --limit @/root/Tower/awx/installer/install.retry

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=28 changed=8 unreachable=0 failed=1

[root@uswix532 installer]#

Here’s the complete playbook run log:

[root@uswix532 installer]# oc login -u ko95056  
Authentication required for [https://uswix532.openshift.kohlerco.com:8443](https://uswix532.openshift.kohlerco.com:8443) (openshift)  
Username: ko95056  
Password:  
Login successful.

You have access to the following projects and can switch between them with ‘oc project ’:

- awx  
default  
kube-public  
kube-service-catalog  
kube-system  
logging  
management-infra  
openshift  
openshift-ansible-service-broker  
openshift-infra  
openshift-node  
openshift-template-service-broker  
openshift-web-console  
test-project  
weboperations

Using project “awx”.  
[root@uswix532 installer]# ansible-playbook -i inventory install.yml -vvv  
ansible-playbook 2.4.6.0  
config file = /etc/ansible/ansible.cfg  
configured module search path = [u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]  
ansible python module location = /usr/lib/python2.7/site-packages/ansible  
executable location = /usr/bin/ansible-playbook  
python version = 2.7.5 (default, Sep 12 2018, 05:31:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]  
Using /etc/ansible/ansible.cfg as config file  
Parsed /root/Tower/awx/installer/inventory inventory source with ini plugin  
statically imported: /root/Tower/awx/installer/roles/local\_docker/tasks/set\_image.yml  
statically imported: /root/Tower/awx/installer/roles/local\_docker/tasks/compose.yml

PLAYBOOK: install.yml \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
1 plays in install.yml

PLAY [Build and deploy AWX] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK [Gathering Facts] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718876.88-182481659685331`” && echo ansible-tmp-1581718876.88-182481659685331=“`echo /root/.ansible/tmp/ansible-tmp-1581718876.88-182481659685331`” ) && sleep 0’  
 PUT /tmp/tmpyTYL05 TO /root/.ansible/tmp/ansible-tmp-1581718876.88-182481659685331/setup.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718876.88-182481659685331/ /root/.ansible/tmp/ansible-tmp-1581718876.88-182481659685331/setup.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718876.88-182481659685331/setup.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718876.88-182481659685331/” \> /dev/null 2\>&1 && sleep 0’  
ok: [localhost]  
META: ran handlers

TASK [check\_vars : include\_tasks] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/main.yml:3  
included: /root/Tower/awx/installer/roles/check\_vars/tasks/check\_openshift.yml for localhost

TASK [check\_vars : openshift\_project should be defined] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/check\_openshift.yml:3  
ok: [localhost] =\> {  
“changed”: false,  
“failed”: false,  
“msg”: “All assertions passed”  
}

TASK [check\_vars : openshift\_user should be defined] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/check\_openshift.yml:9  
ok: [localhost] =\> {  
“changed”: false,  
“failed”: false,  
“msg”: “All assertions passed”  
}

TASK [check\_vars : openshift\_password or openshift\_token should be defined] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/check\_openshift.yml:15  
ok: [localhost] =\> {  
“changed”: false,  
“failed”: false,  
“msg”: “All assertions passed”  
}

TASK [check\_vars : docker\_registry should be defined if not using dockerhub] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/check\_openshift.yml:22  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [check\_vars : docker\_registry\_repository should be defined if not using dockerhub] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/check\_openshift.yml:29  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [check\_vars : docker\_registry\_username should be defined if not using dockerhub] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/check\_openshift.yml:36  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [check\_vars : docker\_registry\_password should be defined] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/check\_openshift.yml:43  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [check\_vars : include\_tasks] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/check\_vars/tasks/main.yml:6  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Set global version if not provided] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:2  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Verify awx-logos directory exists for official install] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:7  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Copy logos for inclusion in sdist] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:15  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Set sdist file name] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:22  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : AWX Distribution] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:26  
skipping: [localhost] =\> {  
“skip\_reason”: “Conditional result was False”  
}

TASK [image\_build : Stat distribution file] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:30  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Clean distribution] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:36  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Build sdist builder image] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:44  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Build AWX distribution using container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:61  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Build AWX distribution locally] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:76  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Set docker build base path] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:83  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Set awx\_web image name] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:87  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Set awx\_task image name] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:91  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Ensure directory exists] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:95  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage sdist] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:101  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Template web Dockerfile] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:107  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Template task Dockerfile] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:113  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage launch\_awx] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:119  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage launch\_awx\_task] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:126  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage google-cloud-sdk.repo] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:133  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage supervisor.conf] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:140  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage supervisor\_task.conf] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:146  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage settings.py] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:152  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage requirements] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:158  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage config watcher] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:164  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Stage Makefile] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:170  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Build base web image] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:176  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Build base task image] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:192  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Tag task and web images as latest] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:208  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_build : Clean docker base directory] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_build/tasks/main.yml:215  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_push : Authenticate with Docker registry if registry password given] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_push/tasks/main.yml:2  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_push : Remove web image] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_push/tasks/main.yml:13  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_push : Remove task image] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_push/tasks/main.yml:19  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_push : Tag and push web image to registry] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_push/tasks/main.yml:28  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_push : Tag and push task image to registry] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_push/tasks/main.yml:38  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [image\_push : Set full image path for Registry] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/image\_push/tasks/main.yml:49  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : fail] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:2  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : include\_tasks] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:6  
included: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml for localhost  
included: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml for localhost

TASK [kubernetes : include\_vars] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml:2  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“openshift\_oc\_bin”: “oc --config={{ openshift\_oc\_config\_file }}”,  
“openshift\_oc\_config\_file”: “{{ kubernetes\_base\_path }}/.kube/config”  
},  
“ansible\_included\_var\_files”: [  
“/root/Tower/awx/installer/roles/kubernetes/vars/openshift.yml”  
],  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : Set kubernetes\_namespace] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml:4  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“kubernetes\_namespace”: “awx”  
},  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : Ensure workspace directories exist] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml:8  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718882.12-134370481458296`” && echo ansible-tmp-1581718882.12-134370481458296=“`echo /root/.ansible/tmp/ansible-tmp-1581718882.12-134370481458296`” ) && sleep 0’  
 PUT /tmp/tmpx\_XAqI TO /root/.ansible/tmp/ansible-tmp-1581718882.12-134370481458296/file.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718882.12-134370481458296/ /root/.ansible/tmp/ansible-tmp-1581718882.12-134370481458296/file.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718882.12-134370481458296/file.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718882.12-134370481458296/” \> /dev/null 2\>&1 && sleep 0’  
ok: [localhost] =\> (item=/tmp/awx-config) =\> {  
“changed”: false,  
“diff”: {  
“after”: {  
“path”: “/tmp/awx-config”  
},  
“before”: {  
“path”: “/tmp/awx-config”  
}  
},  
“failed”: false,  
“gid”: 0,  
“group”: “root”,  
“invocation”: {  
“module\_args”: {  
“attributes”: null,  
“backup”: null,  
“content”: null,  
“delimiter”: null,  
“diff\_peek”: null,  
“directory\_mode”: null,  
“follow”: false,  
“force”: false,  
“group”: null,  
“mode”: null,  
“original\_basename”: null,  
“owner”: null,  
“path”: “/tmp/awx-config”,  
“recurse”: false,  
“regexp”: null,  
“remote\_src”: null,  
“selevel”: null,  
“serole”: null,  
“setype”: null,  
“seuser”: null,  
“src”: null,  
“state”: “directory”,  
“unsafe\_writes”: null,  
“validate”: null  
}  
},  
“item”: “/tmp/awx-config”,  
“mode”: “0755”,  
“owner”: “root”,  
“path”: “/tmp/awx-config”,  
“secontext”: “unconfined\_u:object\_r:user\_tmp\_t:s0”,  
“size”: 52,  
“state”: “directory”,  
“uid”: 0  
}  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718882.49-69190091235923`” && echo ansible-tmp-1581718882.49-69190091235923=“`echo /root/.ansible/tmp/ansible-tmp-1581718882.49-69190091235923`” ) && sleep 0’  
 PUT /tmp/tmpXIzZ9E TO /root/.ansible/tmp/ansible-tmp-1581718882.49-69190091235923/file.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718882.49-69190091235923/ /root/.ansible/tmp/ansible-tmp-1581718882.49-69190091235923/file.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718882.49-69190091235923/file.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718882.49-69190091235923/” \> /dev/null 2\>&1 && sleep 0’  
ok: [localhost] =\> (item=/tmp/awx-config/.kube) =\> {  
“changed”: false,  
“diff”: {  
“after”: {  
“path”: “/tmp/awx-config/.kube”  
},  
“before”: {  
“path”: “/tmp/awx-config/.kube”  
}  
},  
“failed”: false,  
“gid”: 0,  
“group”: “root”,  
“invocation”: {  
“module\_args”: {  
“attributes”: null,  
“backup”: null,  
“content”: null,  
“delimiter”: null,  
“diff\_peek”: null,  
“directory\_mode”: null,  
“follow”: false,  
“force”: false,  
“group”: null,  
“mode”: null,  
“original\_basename”: null,  
“owner”: null,  
“path”: “/tmp/awx-config/.kube”,  
“recurse”: false,  
“regexp”: null,  
“remote\_src”: null,  
“selevel”: null,  
“serole”: null,  
“setype”: null,  
“seuser”: null,  
“src”: null,  
“state”: “directory”,  
“unsafe\_writes”: null,  
“validate”: null  
}  
},  
“item”: “/tmp/awx-config/.kube”,  
“mode”: “0755”,  
“owner”: “root”,  
“path”: “/tmp/awx-config/.kube”,  
“secontext”: “unconfined\_u:object\_r:user\_tmp\_t:s0”,  
“size”: 20,  
“state”: “directory”,  
“uid”: 0  
}

TASK [kubernetes : Authenticate with OpenShift via user and password] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml:16  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718883.19-76594209580425`” && echo ansible-tmp-1581718883.19-76594209580425=“`echo /root/.ansible/tmp/ansible-tmp-1581718883.19-76594209580425`” ) && sleep 0’  
 PUT /tmp/tmpR5wZm0 TO /root/.ansible/tmp/ansible-tmp-1581718883.19-76594209580425/command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718883.19-76594209580425/ /root/.ansible/tmp/ansible-tmp-1581718883.19-76594209580425/command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718883.19-76594209580425/command.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718883.19-76594209580425/” \> /dev/null 2\>&1 && sleep 0’  
changed: [localhost] =\> {  
“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”,  
“changed”: true,  
“failed”: false  
}

TASK [kubernetes : OpenShift authentication failed on TLS verification] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml:30  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : OpenShift authentication failed] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml:38  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Authenticate with OpenShift via token] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml:43  
skipping: [localhost] =\> {  
“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”,  
“changed”: false,  
“skipped”: true  
}

TASK [kubernetes : OpenShift authentication failed] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift\_auth.yml:53  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Get Project Detail] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:2  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718884.34-57735203365483`” && echo ansible-tmp-1581718884.34-57735203365483=“`echo /root/.ansible/tmp/ansible-tmp-1581718884.34-57735203365483`” ) && sleep 0’  
 PUT /tmp/tmp1MXr0T TO /root/.ansible/tmp/ansible-tmp-1581718884.34-57735203365483/command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718884.34-57735203365483/ /root/.ansible/tmp/ansible-tmp-1581718884.34-57735203365483/command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718884.34-57735203365483/command.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718884.34-57735203365483/” \> /dev/null 2\>&1 && sleep 0’  
changed: [localhost] =\> {  
“changed”: true,  
“cmd”: “oc --config=/tmp/awx-config/.kube/config get project awx”,  
“delta”: “0:00:00.656959”,  
“end”: “2020-02-14 16:21:25.279968”,  
“failed”: false,  
“invocation”: {  
“module\_args”: {  
“\_raw\_params”: “oc --config=/tmp/awx-config/.kube/config get project awx”,  
“\_uses\_shell”: true,  
“chdir”: null,  
“creates”: null,  
“executable”: null,  
“removes”: null,  
“stdin”: null,  
“warn”: true  
}  
},  
“rc”: 0,  
“start”: “2020-02-14 16:21:24.623009”,  
“stderr”: “”,  
“stderr\_lines”: ,  
“stdout”: “NAME DISPLAY NAME STATUS\nawx awx Active”,  
“stdout\_lines”: [  
“NAME DISPLAY NAME STATUS”,  
“awx awx Active”  
]  
}

TASK [kubernetes : Create AWX Openshift Project] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:7  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Check PVC status] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:13  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718885.47-251749551486254`” && echo ansible-tmp-1581718885.47-251749551486254=“`echo /root/.ansible/tmp/ansible-tmp-1581718885.47-251749551486254`” ) && sleep 0’  
 PUT /tmp/tmpETBMZi TO /root/.ansible/tmp/ansible-tmp-1581718885.47-251749551486254/command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718885.47-251749551486254/ /root/.ansible/tmp/ansible-tmp-1581718885.47-251749551486254/command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718885.47-251749551486254/command.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718885.47-251749551486254/” \> /dev/null 2\>&1 && sleep 0’  
changed: [localhost] =\> {  
“changed”: true,  
“cmd”: [  
“oc”,  
“–config=/tmp/awx-config/.kube/config”,  
“get”,  
“pvc”,  
“postgresql”,  
“-n”,  
“awx”,  
“-o=jsonpath={.status.phase}”  
],  
“delta”: “0:00:00.459275”,  
“end”: “2020-02-14 16:21:26.228438”,  
“failed”: false,  
“invocation”: {  
“module\_args”: {  
“\_raw\_params”: “oc --config=/tmp/awx-config/.kube/config get pvc postgresql -n awx -o=jsonpath=‘{.status.phase}’”,  
“\_uses\_shell”: false,  
“chdir”: null,  
“creates”: null,  
“executable”: null,  
“removes”: null,  
“stdin”: null,  
“warn”: true  
}  
},  
“rc”: 0,  
“start”: “2020-02-14 16:21:25.769163”,  
“stderr”: “”,  
“stderr\_lines”: ,  
“stdout”: “Bound”,  
“stdout\_lines”: [  
“Bound”  
]  
}

TASK [kubernetes : Ensure PostgreSQL PVC is available] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:18  
ok: [localhost] =\> {  
“changed”: false,  
“failed”: false,  
“msg”: “All assertions passed”  
}

TASK [kubernetes : Set postgresql service name] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:27  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“postgresql\_service\_name”: “postgresql”  
},  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : Add privileged SCC to service account] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:32  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718886.53-46399552925070`” && echo ansible-tmp-1581718886.53-46399552925070=“`echo /root/.ansible/tmp/ansible-tmp-1581718886.53-46399552925070`” ) && sleep 0’  
 PUT /tmp/tmp3e0JJi TO /root/.ansible/tmp/ansible-tmp-1581718886.53-46399552925070/command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718886.53-46399552925070/ /root/.ansible/tmp/ansible-tmp-1581718886.53-46399552925070/command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718886.53-46399552925070/command.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718886.53-46399552925070/” \> /dev/null 2\>&1 && sleep 0’  
changed: [localhost] =\> {  
“changed”: true,  
“cmd”: “oc --config=/tmp/awx-config/.kube/config adm policy add-scc-to-user privileged system:serviceaccount:awx:awx”,  
“delta”: “0:00:00.406888”,  
“end”: “2020-02-14 16:21:27.205672”,  
“failed”: false,  
“invocation”: {  
“module\_args”: {  
“\_raw\_params”: “oc --config=/tmp/awx-config/.kube/config adm policy add-scc-to-user privileged system:serviceaccount:awx:awx”,  
“\_uses\_shell”: true,  
“chdir”: null,  
“creates”: null,  
“executable”: null,  
“removes”: null,  
“stdin”: null,  
“warn”: true  
}  
},  
“rc”: 0,  
“start”: “2020-02-14 16:21:26.798784”,  
“stderr”: “”,  
“stderr\_lines”: ,  
“stdout”: “scc "privileged" added to: ["system:serviceaccount:awx:awx"]”,  
“stdout\_lines”: [  
“scc "privileged" added to: ["system:serviceaccount:awx:awx"]”  
]  
}

TASK [kubernetes : Get Kubernetes Config] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:39  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718887.32-187488443130631`” && echo ansible-tmp-1581718887.32-187488443130631=“`echo /root/.ansible/tmp/ansible-tmp-1581718887.32-187488443130631`” ) && sleep 0’  
 PUT /tmp/tmpziaS46 TO /root/.ansible/tmp/ansible-tmp-1581718887.32-187488443130631/command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718887.32-187488443130631/ /root/.ansible/tmp/ansible-tmp-1581718887.32-187488443130631/command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718887.32-187488443130631/command.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718887.32-187488443130631/” \> /dev/null 2\>&1 && sleep 0’  
changed: [localhost] =\> {  
“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”,  
“changed”: true,  
“failed”: false  
}

TASK [kubernetes : Convert kube config to dictionary] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:45  
ok: [localhost] =\> {  
“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”,  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : Extract current context from kube config] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:50  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“current\_kube\_context”: “default/10-20-36-15:8443/KO95056”  
},  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : Find cluster for current context] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:54  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“kube\_cluster”: “10-20-36-15:8443\n”  
},  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : Find server for current context] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:61  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“kube\_server”: “[https://10.20.36.15:8443](https://10.20.36.15:8443)\n”  
},  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : Get kube version from api server] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:68  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/net\_tools/basics/uri.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718888.65-87371958332782`” && echo ansible-tmp-1581718888.65-87371958332782=“`echo /root/.ansible/tmp/ansible-tmp-1581718888.65-87371958332782`” ) && sleep 0’  
 PUT /tmp/tmpg24Rur TO /root/.ansible/tmp/ansible-tmp-1581718888.65-87371958332782/uri.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718888.65-87371958332782/ /root/.ansible/tmp/ansible-tmp-1581718888.65-87371958332782/uri.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718888.65-87371958332782/uri.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718888.65-87371958332782/” \> /dev/null 2\>&1 && sleep 0’  
ok: [localhost] =\> {  
“cache\_control”: “no-store”,  
“changed”: false,  
“connection”: “close”,  
“content\_length”: “236”,  
“content\_type”: “application/json”,  
“cookies”: {},  
“date”: “Fri, 14 Feb 2020 22:21:29 GMT”,  
“failed”: false,  
“invocation”: {  
“module\_args”: {  
“attributes”: null,  
“backup”: null,  
“body”: null,  
“body\_format”: “raw”,  
“client\_cert”: null,  
“client\_key”: null,  
“content”: null,  
“creates”: null,  
“delimiter”: null,  
“dest”: null,  
“directory\_mode”: null,  
“follow”: false,  
“follow\_redirects”: “safe”,  
“force”: false,  
“force\_basic\_auth”: false,  
“group”: null,  
“headers”: {},  
“http\_agent”: “ansible-httpget”,  
“method”: “GET”,  
“mode”: null,  
“owner”: null,  
“regexp”: null,  
“remote\_src”: null,  
“removes”: null,  
“return\_content”: false,  
“selevel”: null,  
“serole”: null,  
“setype”: null,  
“seuser”: null,  
“src”: null,  
“status\_code”: [  
200  
],  
“timeout”: 30,  
“unsafe\_writes”: null,  
“url”: “[https://10.20.36.15:8443/version](https://10.20.36.15:8443/version)”,  
“url\_password”: null,  
“url\_username”: null,  
“use\_proxy”: true,  
“validate\_certs”: false  
}  
},  
“json”: {  
“buildDate”: “2018-04-26T16:48:23Z”,  
“compiler”: “gc”,  
“gitCommit”: “a0ce1bc”,  
“gitTreeState”: “clean”,  
“gitVersion”: “v1.9.1+a0ce1bc657”,  
“goVersion”: “go1.9.4”,  
“major”: “”,  
“minor”: “”,  
“platform”: “linux/amd64”  
},  
“msg”: “OK (236 bytes)”,  
“redirected”: false,  
“status”: 200,  
“url”: “[https://10.20.36.15:8443/version](https://10.20.36.15:8443/version)”  
}

TASK [kubernetes : Extract server version from command output] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/openshift.yml:74  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“kube\_api\_version”: “1.9.1+a0ce1bc657”  
},  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : include\_tasks] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:14  
skipping: [localhost] =\> (item=kubernetes\_auth.yml) =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true,  
“tasks”: “kubernetes\_auth.yml”  
}  
skipping: [localhost] =\> (item=kubernetes\_auth.yml) =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true,  
“tasks”: “kubernetes.yml”  
}

TASK [kubernetes : Use kubectl or oc] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:22  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“kubectl\_or\_oc”: “oc --config=/tmp/awx-config/.kube/config”  
},  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : set\_fact] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:26  
ok: [localhost] =\> {  
“ansible\_facts”: {  
“deployment\_object”: “sts”  
},  
“changed”: false,  
“failed”: false  
}

TASK [kubernetes : Record deployment size] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:29  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718889.65-264521937409165`” && echo ansible-tmp-1581718889.65-264521937409165=“`echo /root/.ansible/tmp/ansible-tmp-1581718889.65-264521937409165`” ) && sleep 0’  
 PUT /tmp/tmplvpbFz TO /root/.ansible/tmp/ansible-tmp-1581718889.65-264521937409165/command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718889.65-264521937409165/ /root/.ansible/tmp/ansible-tmp-1581718889.65-264521937409165/command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718889.65-264521937409165/command.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718889.65-264521937409165/” \> /dev/null 2\>&1 && sleep 0’  
fatal: [localhost]: FAILED! =\> {  
“changed”: true,  
“cmd”: “oc --config=/tmp/awx-config/.kube/config get sts awx -n awx -o=jsonpath=‘{.status.replicas}’”,  
“delta”: “0:00:00.440260”,  
“end”: “2020-02-14 16:21:30.356646”,  
“failed”: true,  
“invocation”: {  
“module\_args”: {  
“\_raw\_params”: “oc --config=/tmp/awx-config/.kube/config get sts awx -n awx -o=jsonpath=‘{.status.replicas}’”,  
“\_uses\_shell”: true,  
“chdir”: null,  
“creates”: null,  
“executable”: null,  
“removes”: null,  
“stdin”: null,  
“warn”: true  
}  
},  
“msg”: “non-zero return code”,  
“rc”: 1,  
“start”: “2020-02-14 16:21:29.916386”,  
“stderr”: “Error from server (NotFound): statefulsets.apps "awx" not found”,  
“stderr\_lines”: [  
“Error from server (NotFound): statefulsets.apps "awx" not found”  
],  
“stdout”: “”,  
“stdout\_lines”:   
}  
…ignoring

TASK [kubernetes : Set expected post-deployment Replicas value] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:37  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Delete existing Deployment] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:42  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Get Postgres Service Detail] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:48  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718890.61-265788313551713`” && echo ansible-tmp-1581718890.61-265788313551713=“`echo /root/.ansible/tmp/ansible-tmp-1581718890.61-265788313551713`” ) && sleep 0’  
 PUT /tmp/tmpPf6t7V TO /root/.ansible/tmp/ansible-tmp-1581718890.61-265788313551713/command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718890.61-265788313551713/ /root/.ansible/tmp/ansible-tmp-1581718890.61-265788313551713/command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718890.61-265788313551713/command.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718890.61-265788313551713/” \> /dev/null 2\>&1 && sleep 0’  
changed: [localhost] =\> {  
“changed”: true,  
“cmd”: “oc --config=/tmp/awx-config/.kube/config describe svc postgresql -n awx”,  
“delta”: “0:00:00.473693”,  
“end”: “2020-02-14 16:21:31.349804”,  
“failed”: false,  
“invocation”: {  
“module\_args”: {  
“\_raw\_params”: “oc --config=/tmp/awx-config/.kube/config describe svc postgresql -n awx”,  
“\_uses\_shell”: true,  
“chdir”: null,  
“creates”: null,  
“executable”: null,  
“removes”: null,  
“stdin”: null,  
“warn”: true  
}  
},  
“rc”: 0,  
“start”: “2020-02-14 16:21:30.876111”,  
“stderr”: “”,  
“stderr\_lines”: ,  
“stdout”: “Name: postgresql\nNamespace: awx\nLabels: app=postgresql-persistent\n template=postgresql-persistent-template\nAnnotations: [openshift.io/generated-by=OpenShiftNewApp](http://openshift.io/generated-by=OpenShiftNewApp)\n [template.openshift.io/expose-uri=postgres://{.spec.clusterIP}:](http://template.openshift.io/expose-uri=postgres://%7B.spec.clusterIP%7D:){.spec.ports[?(.name=="postgresql")].port}\nSelector: name=postgresql\nType: ClusterIP\nIP: 172.30.70.45\nPort: postgresql 5432/TCP\nTargetPort: 5432/TCP\nEndpoints: 10.129.0.25:5432\nSession Affinity: None\nEvents: ”,  
“stdout\_lines”: [  
“Name: postgresql”,  
“Namespace: awx”,  
“Labels: app=postgresql-persistent”,  
" template=postgresql-persistent-template",  
“Annotations: [openshift.io/generated-by=OpenShiftNewApp](http://openshift.io/generated-by=OpenShiftNewApp)”,  
" [template.openshift.io/expose-uri=postgres://{.spec.clusterIP}:](http://template.openshift.io/expose-uri=postgres://%7B.spec.clusterIP%7D:){.spec.ports[?(.name=="postgresql")].port}",  
“Selector: name=postgresql”,  
“Type: ClusterIP”,  
“IP: 172.30.70.45”,  
“Port: postgresql 5432/TCP”,  
“TargetPort: 5432/TCP”,  
“Endpoints: 10.129.0.25:5432”,  
“Session Affinity: None”,  
“Events: ”  
]  
}

TASK [kubernetes : Template PostgreSQL Deployment (OpenShift)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:56  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Deploy and Activate Postgres (OpenShift)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:62  
skipping: [localhost] =\> {  
“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”,  
“changed”: false,  
“skipped”: true  
}

TASK [kubernetes : Template PostgreSQL Deployment (Kubernetes)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:82  
skipping: [localhost] =\> {  
“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”,  
“changed”: false,  
“skipped”: true  
}

TASK [kubernetes : Deploy and Activate Postgres (Kubernetes)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:87  
skipping: [localhost] =\> {  
“censored”: “the output has been hidden due to the fact that ‘no\_log: true’ was specified for this result”,  
“changed”: false,  
“skipped”: true  
}

TASK [kubernetes : Set postgresql hostname to helm package service (Kubernetes)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:103  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Wait for Postgres to activate] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:110  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Check if Postgres 9.6 is being used] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:117  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py  
 ESTABLISH LOCAL CONNECTION FOR USER: root  
 EXEC /bin/sh -c ‘echo ~ && sleep 0’  
 EXEC /bin/sh -c ‘( umask 77 && mkdir -p “`echo /root/.ansible/tmp/ansible-tmp-1581718891.88-173318889891726`” && echo ansible-tmp-1581718891.88-173318889891726=“`echo /root/.ansible/tmp/ansible-tmp-1581718891.88-173318889891726`” ) && sleep 0’  
 PUT /tmp/tmprXdMhF TO /root/.ansible/tmp/ansible-tmp-1581718891.88-173318889891726/command.py  
 EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1581718891.88-173318889891726/ /root/.ansible/tmp/ansible-tmp-1581718891.88-173318889891726/command.py && sleep 0’  
 EXEC /bin/sh -c ‘/usr/bin/env python /root/.ansible/tmp/ansible-tmp-1581718891.88-173318889891726/command.py; rm -rf “/root/.ansible/tmp/ansible-tmp-1581718891.88-173318889891726/” \> /dev/null 2\>&1 && sleep 0’  
changed: [localhost] =\> {  
“changed”: true,  
“cmd”: “POD=$(oc --config=/tmp/awx-config/.kube/config -n awx get pods -l=name=postgresql --field-selector status.phase=Running -o jsonpath="{.items[0].metadata.name}")\n oc exec $POD -n awx – bash -c "psql -tAc ‘select version()’"”,  
“delta”: “0:00:00.973946”,  
“end”: “2020-02-14 16:21:33.142991”,  
“failed”: false,  
“invocation”: {  
“module\_args”: {  
“\_raw\_params”: “POD=$(oc --config=/tmp/awx-config/.kube/config -n awx get pods -l=name=postgresql --field-selector status.phase=Running -o jsonpath="{.items[0].metadata.name}")\n oc exec $POD -n awx – bash -c "psql -tAc ‘select version()’"”,  
“\_uses\_shell”: true,  
“chdir”: null,  
“creates”: null,  
“executable”: null,  
“removes”: null,  
“stdin”: null,  
“warn”: true  
}  
},  
“rc”: 0,  
“start”: “2020-02-14 16:21:32.169045”,  
“stderr”: “”,  
“stderr\_lines”: ,  
“stdout”: “PostgreSQL 10.6 on x86\_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16), 64-bit”,  
“stdout\_lines”: [  
“PostgreSQL 10.6 on x86\_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16), 64-bit”  
]  
}

TASK [kubernetes : Set new pg image] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:125  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Wait for change to take affect] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:130  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Set env var for pg upgrade] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:134  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Wait for change to take affect] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:138  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Set env var for new pg version] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:142  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Wait for Postgres to redeploy] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:146  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Wait for Postgres to finish upgrading] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:150  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Unset upgrade env var] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:160  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Wait for Postgres to redeploy] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:164  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Set task image name] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:173  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Set web image name] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:178  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Generate SSL certificates for RabbitMQ, if needed] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:184  
skipping: [localhost] =\> {  
“changed”: false,  
“skip\_reason”: “Conditional result was False”,  
“skipped”: true  
}

TASK [kubernetes : Determine StatefulSet api version] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:188  
fatal: [localhost]: FAILED! =\> {  
“failed”: true,  
“msg”: “template error while templating string: no test named ‘version’. String: {{ ‘apps/v1’ if kube\_api\_version is version(‘1.9’, ‘\>=’) else ‘apps/v1beta1’ }}”  
}  
to retry, use: --limit @/root/Tower/awx/installer/install.retry

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=28 changed=8 unreachable=0 failed=1

[root@uswix532 installer]#

---

<div class="post-metadata">

**Author:** ![Parashar\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@Parashar\_Singh](https://forum.ansible.com/u/Parashar_Singh)\
**Post date:** [February 17, 2020, 6:36pm UTC](https://forum.ansible.com/t/awx-install-in-openshift-failing-msg-template-error-while-templating-string-no-test-named-version-string-apps-v1-if-kube-api-version-is-version-1-9-else-apps-v1beta1/32238/2 "2020-02-17T18:36:35Z")

</div>

an someone please advise, how to fix this issue while installing AWX in Openshift 3.9? I’m getting following error:

TASK [kubernetes : Determine StatefulSet api version] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /root/Tower/awx/installer/roles/kubernetes/tasks/main.yml:188  
fatal: [localhost]: FAILED! =\> {  
“failed”: true,  
“msg”: “template error while templating string: no test named ‘version’. String: {{ ‘apps/v1’ if kube\_api\_version is version(‘1.9’, ‘\>=’) else ‘apps/v1beta1’ }}”  
}  
to retry, use: --limit @/root/Tower/awx/installer/install.retry

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=28 changed=8 unreachable=0 failed=1

[root@installer]#

---

<div class="post-metadata">

**Author:** ![Parashar\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@Parashar\_Singh](https://forum.ansible.com/u/Parashar_Singh)\
**Post date:** [February 19, 2020, 3:10pm UTC](https://forum.ansible.com/t/awx-install-in-openshift-failing-msg-template-error-while-templating-string-no-test-named-version-string-apps-v1-if-kube-api-version-is-version-1-9-else-apps-v1beta1/32238/3 "2020-02-19T15:10:01Z")

</div>

Anyone has this issue while installing AWX on Openshift 3.9?
