[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
The fix is to use
become: yesinstead ofsudo: yes. I'm filing a pull request to do this.The error (with ansible-playbook 2.10.5) is: