Hi.

I try to run yaml via Web-UI Tower using ansible 1.8:

---
- name: setup steps that are not specific to a particular role or project
  hosts: all
  sudo: True
  user: rnd
  gather_facts: True

  tasks:

    - name: update apt cache
      apt:
        update_cache: yes



SSH password:
sudo password [defaults to SSH password]:
PLAY [setup steps that are not specific to a particular role or project]
 ****** GATHERING FACTS 
*************************************************************** 
ok:
 [172.20.6.85] TASK: [ensure required base packages are present] 
***************************** 
failed: [172.20.6.85] => 
(item=chrony,python-mysqldb,python-software-properties) => {"failed": true, 
"item": "chrony,python-mysqldb,python-software-properties"}
 msg: Failed to lock apt for exclusive operation
FATAL: all hosts have already failed -- aborting 
PLAY RECAP 
******************************************************************** to 
retry,
use: --limit @/var/lib/awx/openstack.yaml.retry 172.20.6.85 : ok=1 
changed=0 unreachable=0 failed=1 

What is the problem?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/aaa3053f-41b7-4aea-99aa-cba022fbf098%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to