Did you notice there is a space in the word 'pre sent'?
On 7/1/15 4:51 PM, gitted wrote:
I'm trying to install nodejs using:
- name: install node
apt: pkg={{item}} state=pre sent
with_items:
- nodejs
- nodejs-legacy
- npm
I'm getting this error:
failed: [host1] => (item=nodejs,nodejs-legacy,npm) => {"failed": true,
"item": "nodejs,nodejs-legacy,npm"}
msg: this module requires key=value arguments
(['pkg=nodejs,nodejs-legacy,npm', 'state=pre', 'sent'])
FATAL: all hosts have already failed -- aborting
This used to work for me maybe 3-4 months ago, first time I am using
ansible since and I am getting this error.
Ideas?
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/886eb831-bca2-4674-adac-b9d5d190f176%40googlegroups.com
<https://groups.google.com/d/msgid/ansible-project/886eb831-bca2-4674-adac-b9d5d190f176%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/55952E11.1070302%40gmail.com.
For more options, visit https://groups.google.com/d/optout.