enabled option was in wrong task.

This commit is contained in:
staticsafe 2014-05-07 19:24:01 +00:00
parent 572a6e573e
commit d5ec49b88f
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
- name: Add nginx upstream repository - name: Add nginx upstream repository
apt_repository: repo='deb http://nginx.org/packages/debian/ wheezy nginx' state=present update_cache=yes apt_repository: repo='deb http://nginx.org/packages/debian/ wheezy nginx' state=present update_cache=yes
- name: Install nginx package and ensure it starts on boot - name: Install nginx package and ensure it starts on boot
apt: pkg=nginx state=present enabled=yes apt: pkg=nginx state=present
- name: Stop nginx for now - name: Stop nginx for now and also make it start on boot
service: name=nginx state=stopped service: name=nginx state=stopped enabled=yes
- name: Make nginx related dirs - name: Make nginx related dirs
file: path={{ item }} state=directory file: path={{ item }} state=directory
with_items: with_items: