1
0
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:
eoli3n 2020-05-15 13:11:12 +02:00
parent 91712139b2
commit 84ca7df0e2
2 changed files with 5 additions and 1 deletions

@ -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