You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First ERROR encountered at step 6 after following first 5 steps correctly. Please advise.
use python3 instead of python2. changing the python version in /etc/alternatives will not work. You have to manually link python3 as the default version. unlink /usr/bin/python ln -s /usr/bin/python3 /usr/bin/python
I am also getting similar error despite setting default python version to python3 using :
unlink /usr/bin/python
ln -s /usr/bin/python3 /usr/bin/python
############ Linux Console- RHEL 7 #################
[root@localhost installer]# ansible-playbook -i inventory install.yml
[WARNING]: While constructing a mapping from /root/awx/installer/roles/local_docker/tasks/compose.yml, line 49, column 7, found a
duplicate dict key (when). Using last defined value only.
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/root/awx/installer/roles/local_docker/tasks/compose.yml': line 39, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
block:
name: Start the containers
^ here
The error appears to have been in '/root/awx/installer/roles/local_docker/tasks/compose.yml': line 39, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
block:
name: Start the containers
^ here
exception type: <class 'ansible.errors.AnsibleParserError'>
exception: no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/root/awx/installer/roles/local_docker/tasks/compose.yml': line 39, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
use python3 instead of python2. changing the python version in /etc/alternatives will not work. You have to manually link python3 as the default version.
unlink /usr/bin/python
ln -s /usr/bin/python3 /usr/bin/python