Skip to content

Commit

Permalink
Fix idempotence
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilien Mantel committed Nov 3, 2015
1 parent bee0cb9 commit d1dbdb8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
- name: APT | Install nginx
apt: pkg={{ nginx_apt_package }} state=latest update_cache=yes cache_valid_time=3600

- name: SERVICE | Ensure nginx is started
service: name=nginx state=started

- name: SHELL | Get Nginx version
shell: nginx -v 2>&1 | sed -r 's#.*/##;' | cut -d ' ' -f 1
register: nginx_version
Expand Down

0 comments on commit d1dbdb8

Please sign in to comment.