Skip to content

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

@strk

Description

@strk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions