You've already forked role_keepalived
fix: Add compatibility with CoreOS
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user