turns out apt_repository needs quotes
This commit is contained in:
parent
793b3e72e0
commit
aaafece287
|
@ -16,9 +16,12 @@
|
||||||
notify:
|
notify:
|
||||||
- restart rsyslog
|
- restart rsyslog
|
||||||
- name: Add Nodesource apt key
|
- name: Add Nodesource apt key
|
||||||
apt_key: url=https://deb.nodesource.com/gpgkey/nodesource.gpg.key state=present
|
apt_key: url="https://deb.nodesource.com/gpgkey/nodesource.gpg.key" state=present
|
||||||
- name: Add Nodesource apt repository
|
- name: Add Nodesource apt repositories
|
||||||
apt_repository: repo=deb https://deb.nodesource.com/node_6.x xenial main state=present
|
apt_repository: repo={{ item }} state=present
|
||||||
|
with_items:
|
||||||
|
- "deb https://deb.nodesource.com/node_6.x xenial main"
|
||||||
|
- "deb-src https://deb.nodesource.com/node_6.x xenial main"
|
||||||
- name: Add Yarnpkg apt key
|
- name: Add Yarnpkg apt key
|
||||||
apt_key: url=https://dl.yarnpkg.com/debian/pubkey.gpg state=present
|
apt_key: url=https://dl.yarnpkg.com/debian/pubkey.gpg state=present
|
||||||
- name: Add Yarnpkg apt repository
|
- name: Add Yarnpkg apt repository
|
||||||
|
|
Loading…
Reference in New Issue