keepalived/tasks/install.yaml
Simon Cornet 21323a86a3
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
chore: migrate bare ansible_* facts to ansible_facts[] syntax
2026-05-19 09:19:04 +02:00

14 lines
326 B
YAML

---
# install keepalived
- name: "install keepalived"
community.general.apk:
name: "keepalived"
update_cache: true
when: 'ansible_facts["os_family"] == "Alpine"'
- name: "install keepalived"
ansible.builtin.apt:
name: "keepalived"
cache_valid_time: 120
when: 'ansible_facts["os_family"] == "Debian"'