From 6aba02afcefa27f1edd87714f512ce526f7e3ca0 Mon Sep 17 00:00:00 2001 From: Ash Cripps Date: Fri, 2 Jul 2021 15:53:01 +0100 Subject: [PATCH] Update the provided ansible to a later version --- ansible/roles/awx/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ansible/roles/awx/tasks/main.yml b/ansible/roles/awx/tasks/main.yml index 991074258..83913d5d6 100644 --- a/ansible/roles/awx/tasks/main.yml +++ b/ansible/roles/awx/tasks/main.yml @@ -75,6 +75,12 @@ responses: (?i)password: "{{ awx_password }}" +- name: uninstall ansible + command: docker exec awx_task /usr/bin/pip3 uninstall -y ansible + +- name: install ansible + command: docker exec awx_task /usr/bin/pip3 install ansible + #TODO: change this to be https://ansible.nodejs.org and remove verify_ssl - name: create /root/.tower_cli.cfg blockinfile: