From 78287bcda0678c58ed97359d975edc8af157d1e5 Mon Sep 17 00:00:00 2001 From: Wilson Harris <60201697+wilson-walrus@users.noreply.github.com> Date: Fri, 30 Jul 2021 14:44:07 -0400 Subject: [PATCH] ans-tower-lab-ng fix homework deployment (#4000) * updates for broken lab * update command module to use python3 --- ansible/configs/ans-tower-lab-ng/post_software.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/configs/ans-tower-lab-ng/post_software.yml b/ansible/configs/ans-tower-lab-ng/post_software.yml index 45d68868642..90b0e53d5ff 100644 --- a/ansible/configs/ans-tower-lab-ng/post_software.yml +++ b/ansible/configs/ans-tower-lab-ng/post_software.yml @@ -61,7 +61,9 @@ state: present executable: pip3 - - name: Inject Ansible Tower license + - name: Inject Ansible Tower license + vars: + ansible_python_interpreter: /usr/bin/python3 command: awx-cli setting modify LICENSE @/root/license.txt --insecure - when: tower_credentials is defined