I'm using the following task to install a few utilities:

`- name: install utilities
     apt: name={{ item.pkg }} state=present upgrade=full
     with_items:
       - pkg: 'htop'
       - pkg: 'mytop'
       - pkg: 'iotop'
       - pkg: 'pv'`

`When executing in check mode, I get the following error:
failed: [192.168.68.136] => (item={'pkg': 'pv'}) => {"failed": true,
"item": {"pkg": "pv"}}
msg: parameters are mutually exclusive: ['package', 'upgrade', 'deb']`

What am I doing wrong?

--
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+unsubscribe@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/a6d5d607-630f-4efc-bf75-7ff15d72d638%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupansible-project @
postedNov 5, '14 at 1:27a
activeNov 5, '14 at 2:09a
posts2
users2

2 users in discussion

Ayush Sharma: 1 post Brian Coca: 1 post

People

Translate

site design / logo © 2022 Grokbase