I get the error   ({"failed": true} msg: Failed to lock apt for exclusive 
operationFATAL: all hosts have already failed -- aborting)

as specified in the subject each time i run my playbook. 

But i can successfully ssh into the remote host 


this is the content of my playbook

- hosts: 172.30.0.12
  roles:
  - java
  - tomcat
#  sudo: True
  vars:
    tomcat_version: 7
    java_version: 7
    tomcat_jmxremote_enable: true
    tomcat_jmxremote_port: 10003

Kindly help me figure this out


-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/75d25c24-1cf2-454d-a9ca-2b89b3620974%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to