chore: fix syntax for ansible-lint

This commit is contained in:
Adrien Waksberg 2023-06-29 16:25:21 +02:00
parent 17e493406c
commit 24a8f7b230
3 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
---
- name: restart keepalived
- name: Restart keepalived
ansible.builtin.service:
name: keepalived
state: restarted

View file

@ -6,7 +6,7 @@ galaxy_info:
company: Adrien Waksberg
description: Install and configure keepalived
license: Apache2
min_ansible_version: 2.9
min_ansible_version: "2.9"
platforms:
- name: Debian

View file

@ -1,5 +1,5 @@
---
- name: install package
- name: Install package
ansible.builtin.package:
name:
- keepalived
@ -8,19 +8,19 @@
until: result is succeeded
tags: keepalived
- name: copy configuration file
- name: Copy configuration file
ansible.builtin.template:
src: keepalived.conf.j2
dest: /etc/keepalived/keepalived.conf
owner: root
group: root
mode: 0600
notify: restart keepalived
notify: Restart keepalived
tags: keepalived
- name: enable and start the service
- name: Enable and start the service
ansible.builtin.service:
name: keepalived
state: started
enabled: yes
enabled: true
tags: keepalived