mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 06:51:58 +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
|
||||
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/
|
||||
state: directory
|
||||
|
||||
- shell: pgrep mako
|
||||
register: mako_running
|
||||
ignore_errors: True
|
||||
|
||||
- name: template mako config file
|
||||
template:
|
||||
src: config.j2
|
||||
|
Loading…
Reference in New Issue
Block a user