Hi list,
I’m trying to install a couple of apt packages on Ubuntu 14.04, but Ansible just seems to hang indefinitely when it gets to this task:
- name: Install needed packages for building BTRFS driver
apt: name={{ item }}
with_items: - uuid-dev
- libattr1-dev
- zlib1g-dev
- libacl1-dev
- e2fslibs-dev
- libblkid-dev
- liblzo2-dev
- asciidoc
- xmlto
I have a couple of questions regarding this:
-
Is there a way to output the current command being executed by Ansible (in this case, the apt-get call)?
-
What’s the difference between the “pkg” argument and name for the “apt” module?
-
Does anyone have any idea why this hangs? Any possible solutions?
I’m using the -vvvv flag, but it doesn’t show any useful information to debug this problem.
Thanks in advance,
– Marcelo