Created
December 26, 2016 17:16
-
-
Save mfilipe/eaa43481a6e2ef7dd64feb35ac3ee0f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: start service | |
service: name={{service_name}} state=started | |
when: service_status.stat.exists | |
register: start_result | |
tags: | |
- start | |
- name: update systemd files | |
shell: systemctl daemon-reload | |
when: start_result.failed and 'systemctl daemon-reload' in start_result.msg | |
tags: | |
- start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment