Skip to content

download_compile_run.ansible.yml: ERROR! conflicting action statements: apt, sudo #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
strk opened this issue Jun 6, 2022 · 0 comments · May be fixed by #29
Open

download_compile_run.ansible.yml: ERROR! conflicting action statements: apt, sudo #28

strk opened this issue Jun 6, 2022 · 0 comments · May be fixed by #29

Comments

@strk
Copy link

strk commented Jun 6, 2022

The fix is to use become: yes instead of sudo: yes. I'm filing a pull request to do this.
The error (with ansible-playbook 2.10.5) is:

[strk@c19:/usr/local/src/openhmitester(typos)] ansible-playbook -i "localhost," -c local download_compile_run.ansible.yml -K
BECOME password: 
ERROR! conflicting action statements: apt, sudo

The error appears to be in '/home/src/openhmitester/download_compile_run.ansible.yml': line 9, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


  - name: Install OHT requirements
    ^ here
strk added a commit to strk/openhmitester that referenced this issue Jun 6, 2022
Fixes "conflicting action statements" error with Ansible 2.10.5
Closes pedromateo#28
@strk strk linked a pull request Jun 6, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant