Should be apt_repository instead of apt-repository

This commit is contained in:
staticsafe 2017-11-24 12:51:39 -05:00
parent aaafece287
commit b37603c18e
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
- 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
apt-repository: repo=deb https://dl.yarnpkg.com/debian/ stable main state=present apt_repository: repo=deb https://dl.yarnpkg.com/debian/ stable main state=present
# Note that we don't install nginx, letsencrypt, postgresql and redis here, that will be in different roles # Note that we don't install nginx, letsencrypt, postgresql and redis here, that will be in different roles
- name: Update apt cache and install various dependencies - name: Update apt cache and install various dependencies
apt: name={{ item }} state=latest update_cache=yes apt: name={{ item }} state=latest update_cache=yes