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].
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/886eb831-bca2-4674-adac-b9d5d190f176%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.