mirror of
https://gitea.0xace.cc/ansible-galaxy/keepalived.git
synced 2024-11-24 15:56:39 +00:00
keepalived: fix masked service for debian os family
This commit is contained in:
parent
8fd8b57b95
commit
d1676ed538
@ -1,4 +1,10 @@
|
||||
---
|
||||
- name: Mask Keepalived before install for Debian OS family
|
||||
ansible.builtin.systemd:
|
||||
name: keepalived
|
||||
masked: yes
|
||||
when: ansible_facts['os_family'] == 'Debian'
|
||||
|
||||
- name: Install keepalived
|
||||
package:
|
||||
name: keepalived
|
||||
@ -32,4 +38,5 @@
|
||||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
masked: no
|
||||
register: keepalived_enable_and_start
|
||||
|
Loading…
Reference in New Issue
Block a user