apt module fails with serial setting greater than 1

10 views
Skip to first unread message

Max Gonzih

unread,
Aug 9, 2016, 11:28:58 AM8/9/16
to Ansible Project
Hello everyone,

I'm just starting to use ansible and encountered weird issue.

apt module on target machines that run ubuntu 16.04 (ec2 image ami-1967056a) fails with locking issues (11: Resource temporarily unavailable).

But when I set serial: 1 everything seems to be fine. I'm not sure where to look for a solution. Is it ansible problem or apt related?

Any help or suggestions are welcome!

Thanks a lot!

Brian Coca

unread,
Mar 7, 2017, 1:19:36 PM3/7/17
to Ansible Project
In general you can only run one apt process on the same machine, the
'locking' is apt trying to ensure that.


----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages