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 ### Changed
- test: replace kitchen to molecule - test: replace kitchen to molecule
- chore: use FQCN for module name
## [1.0.0] 2019-04-12 ## [1.0.0] 2019-04-12

View file

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

View file

@ -1,14 +1,15 @@
--- ---
- name: install package - name: install package
package: ansible.builtin.package:
name: keepalived name:
- keepalived
retries: 2 retries: 2
register: result register: result
until: result is succeeded until: result is succeeded
tags: keepalived tags: keepalived
- name: copy configuration file - name: copy configuration file
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
@ -18,7 +19,7 @@
tags: keepalived tags: keepalived
- name: enable and start the service - name: enable and start the service
service: ansible.builtin.service:
name: keepalived name: keepalived
state: started state: started
enabled: yes enabled: yes