mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
updated mako role to test if it is running
This commit is contained in:
parent
91712139b2
commit
84ca7df0e2
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
- name: reload mako
|
- name: reload mako
|
||||||
shell: makoctl reload
|
shell: makoctl reload
|
||||||
when: ansible_virtualization_role == "host"
|
when: ansible_virtualization_role == "host" and mako_running is succeeded
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
path: ~/.config/mako/
|
path: ~/.config/mako/
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- shell: pgrep mako
|
||||||
|
register: mako_running
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
- name: template mako config file
|
- name: template mako config file
|
||||||
template:
|
template:
|
||||||
src: config.j2
|
src: config.j2
|
||||||
|
Loading…
Reference in New Issue
Block a user