chore: fix syntax for ansible-lint
This commit is contained in:
parent
17e493406c
commit
24a8f7b230
3 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: restart keepalived
|
- name: Restart keepalived
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: keepalived
|
name: keepalived
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
|
@ -6,7 +6,7 @@ galaxy_info:
|
||||||
company: Adrien Waksberg
|
company: Adrien Waksberg
|
||||||
description: Install and configure keepalived
|
description: Install and configure keepalived
|
||||||
license: Apache2
|
license: Apache2
|
||||||
min_ansible_version: 2.9
|
min_ansible_version: "2.9"
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: install package
|
- name: Install package
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- keepalived
|
- keepalived
|
||||||
|
@ -8,19 +8,19 @@
|
||||||
until: result is succeeded
|
until: result is succeeded
|
||||||
tags: keepalived
|
tags: keepalived
|
||||||
|
|
||||||
- name: copy configuration file
|
- name: Copy configuration file
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: keepalived.conf.j2
|
src: keepalived.conf.j2
|
||||||
dest: /etc/keepalived/keepalived.conf
|
dest: /etc/keepalived/keepalived.conf
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
notify: restart keepalived
|
notify: Restart keepalived
|
||||||
tags: keepalived
|
tags: keepalived
|
||||||
|
|
||||||
- name: enable and start the service
|
- name: Enable and start the service
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: keepalived
|
name: keepalived
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: true
|
||||||
tags: keepalived
|
tags: keepalived
|
||||||
|
|
Loading…
Reference in a new issue