chore: use FQCN for module name

This commit is contained in:
Adrien Waksberg 2021-08-18 18:40:55 +02:00
parent 4687db56b4
commit 9190259504
3 changed files with 7 additions and 5 deletions

View file

@ -12,6 +12,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
### Changed
- test: replace kitchen to molecule
- chore: use FQCN for module name
## [1.0.0] 2019-04-12

View file

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

View file

@ -1,14 +1,15 @@
---
- name: install package
package:
name: keepalived
ansible.builtin.package:
name:
- keepalived
retries: 2
register: result
until: result is succeeded
tags: keepalived
- name: copy configuration file
template:
ansible.builtin.template:
src: keepalived.conf.j2
dest: /etc/keepalived/keepalived.conf
owner: root
@ -18,7 +19,7 @@
tags: keepalived
- name: enable and start the service
service:
ansible.builtin.service:
name: keepalived
state: started
enabled: yes