Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

combine start/enable service in one line #13

Merged
merged 4 commits into from
Mar 24, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,5 @@
group: root
mode: 0744

- 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sjourdan Could you remove task inline config (name=...) and put each option on a single line to be ?

To be more homogenous with the rest of the role.