Skip to content

Commit

Permalink
Merge pull request #13 from sjourdan/traefik_service
Browse files Browse the repository at this point in the history
combine start/enable service in one line
  • Loading branch information
eliecharra authored Mar 24, 2017
2 parents f04946b + 74a9b85 commit 05c80f3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,5 @@
notify:
- Restart traefik

- name: Enable traefik service at boot
service:
name: traefik
enabled: yes

- name: Ensure traefic service is running
service:
name: traefik
state: started
- name: Ensure traefik service is enabled and running
service: name=traefik state=started enabled=yes

0 comments on commit 05c80f3

Please sign in to comment.