[INFO] Création du rôle
This commit is contained in:
1 parent
d09e5403e9
commit
434ec3ca1f
6 files changed
+273
-4
No files matched your search
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# tasks file for keepalived
|
||||
|
||||
- name: Installer keepalived
|
||||
ansible.builtin.apt:
|
||||
name: keepalived
|
||||
become: true
|
||||
|
||||
- name: Déployer la configuration
|
||||
ansible.builtin.template:
|
||||
owner: root
|
||||
group: root
|
||||
mode: u=rw,g=r,o=r
|
||||
src: keepalived.j2
|
||||
dest: /etc/keepalived/keepalived.conf
|
||||
become: true
|
||||
notify: Redémarrer keepalived.service
|
||||
Reference in new issue
Block a user