Create the runtime directory.
This commit is contained in:
parent
fe375e7562
commit
0e57545830
|
@ -19,6 +19,9 @@
|
|||
- name: Create the keepalive script user directory
|
||||
file: dest={{ keepalived_script_user_home }} state=directory owner={{ keepalived_script_username }} group={{ keepalived_script_username }} mode=0750
|
||||
|
||||
- name: Create the keepalived directory under /run if it does not exist yet. dbus creates it when restarts
|
||||
file: dest={{ keepalived_runtime_dir }} state=directory owner={{ keepalived_script_username }} group={{ keepalived_script_username }} mode=0750
|
||||
|
||||
- name: Create the tmpfile entry for the keepalived runtime directory
|
||||
template: src=tmpfile_keepalived.conf.j2 dest=/usr/lib/tmpfiles.d/keepalived.conf owner=root group=root mode=0644
|
||||
when: ansible_service_mgr == 'systemd'
|
||||
|
|
Loading…
Reference in New Issue