Ansible 2.6.2: playbook works when executed in CLI but not in AWX 1.0.7.2

Saisissez le code ici...

Hello,

I’m trying to import into AWX 1.0.7.2 a couple of ansible projects, after I have tested them with CLI. My inventory file is as follows:

`

...
[jenkins-nodes]
jenkins-master ansible-host=10.0.254.42 ansible-connection=ssh ansible-ssh-user=root ansible-ssh-pass=TARjen19
jenkins-agent-1 ansible-host=10.0.254.43 ansible-connection=ssh ansible-ssh-user=root ansible-ssh-pass=TARjen19
jenkins-agent-2 ansible-host=10.0.254.44 ansible-connection=ssh ansible-ssh-user=root ansible-ssh-pass=TARjen19
...

`

Running the following playbook:

`

  • name: setup SSH for user root
    become: yes
    become_user: root
    hosts: admin
    roles:
  • configure-admin

`

where the role configure-admin is as follows:

`