chore: use FQCN for module name
This commit is contained in:
parent
4687db56b4
commit
9190259504
3 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: restart keepalived
|
||||
service:
|
||||
ansible.builtin.service:
|
||||
name: keepalived
|
||||
state: restarted
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue