fix: Add compatibility with CoreOS
This commit is contained in:
parent
f48693ca5e
commit
d63e0ede09
@ -15,10 +15,3 @@ galaxy_info:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- role: nftables
|
- role: nftables
|
||||||
- role: users
|
- role: users
|
||||||
vars:
|
|
||||||
users_role_keepalived:
|
|
||||||
- name: keepalived_script
|
|
||||||
comment: "Dedicated user for keepalived script"
|
|
||||||
update_password: on_create
|
|
||||||
password_lock: true
|
|
||||||
shell: /bin/bash
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
- --assumeyes
|
- --assumeyes
|
||||||
- --idempotent
|
- --idempotent
|
||||||
- keepalived
|
- keepalived
|
||||||
creates: /usr/sbin/dnsmasq
|
creates: /sysroot/ostree/repo/refs/heads/rpmostree/pkg/keepalived
|
||||||
when: ansible_facts['pkg_mgr'] == "atomic_container"
|
when: ansible_facts['pkg_mgr'] == "atomic_container"
|
||||||
become: true
|
become: true
|
||||||
notify: Apply installation
|
notify: Apply installation
|
||||||
|
9
vars/main.yml
Normal file
9
vars/main.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
# vars file for keepalived
|
||||||
|
|
||||||
|
users:
|
||||||
|
- name: keepalived_script
|
||||||
|
comment: "Dedicated user for keepalived script"
|
||||||
|
update_password: on_create
|
||||||
|
password_lock: true
|
||||||
|
shell: /bin/bash
|
Loading…
x
Reference in New Issue
Block a user