fix: Add compatibility with CoreOS

This commit is contained in:
pulsar89.5 2025-04-01 16:59:47 +02:00
parent f48693ca5e
commit d63e0ede09
3 changed files with 10 additions and 8 deletions

View File

@ -15,10 +15,3 @@ galaxy_info:
dependencies:
- role: nftables
- 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

View File

@ -16,7 +16,7 @@
- --assumeyes
- --idempotent
- keepalived
creates: /usr/sbin/dnsmasq
creates: /sysroot/ostree/repo/refs/heads/rpmostree/pkg/keepalived
when: ansible_facts['pkg_mgr'] == "atomic_container"
become: true
notify: Apply installation

9
vars/main.yml Normal file
View 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