fix: Add compatibility with CoreOS

This commit is contained in:
2025-04-01 16:59:47 +02:00
parent f48693ca5e
commit b67125e625
6 changed files with 14 additions and 38 deletions

View File

@@ -4,22 +4,4 @@
- name: Install keepalived
ansible.builtin.apt:
name: keepalived
when: ansible_facts['pkg_mgr'] == "apt"
become: true
- name: Install keepalived
ansible.builtin.command:
argv:
- /usr/bin/rpm-ostree
- install
- --allow-inactive
- --assumeyes
- --idempotent
- keepalived
creates: /usr/sbin/dnsmasq
when: ansible_facts['pkg_mgr'] == "atomic_container"
become: true
notify: Apply installation
- name: Flush handlers
meta: flush_handlers

View File

@@ -1,8 +1,8 @@
---
# tasks file for keepalived
- name: Include installation tasks
ansible.builtin.include_tasks:
- name: Import installation tasks
ansible.builtin.import_tasks:
file: installation.yml
- name: Import configuration tasks