Prefix module with "ansible.builtin."
This commit is contained in:
parent
82833be113
commit
5e777b489a
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
* Use flatten to manage packages list.
|
* Use flatten to manage packages list.
|
||||||
|
* Prefix module with "ansible.builtin.".
|
||||||
|
|
||||||
## v2.0.0
|
## v2.0.0
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
# Manage required system packages [[[1
|
# Manage required system packages [[[1
|
||||||
- name: Ensure required packages are in there desired state
|
- name: Ensure required packages are in there desired state
|
||||||
package:
|
ansible.builtin.package:
|
||||||
name: '{{ arpwatch__base_packages | flatten }}'
|
name: '{{ arpwatch__base_packages | flatten }}'
|
||||||
state: 'present'
|
state: 'present'
|
||||||
install_recommends: False
|
install_recommends: False
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
# Manage service default [[[1
|
# Manage service default [[[1
|
||||||
- name: Manage service default
|
- name: Manage service default
|
||||||
template:
|
ansible.builtin.template:
|
||||||
src: 'etc/default/arpwatch.j2'
|
src: 'etc/default/arpwatch.j2'
|
||||||
dest: "/etc/default/arpwatch"
|
dest: "/etc/default/arpwatch"
|
||||||
owner: root
|
owner: root
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
# Manage service [[[1
|
# Manage service [[[1
|
||||||
- name: Manage arpwatch service by network interface
|
- name: Manage arpwatch service by network interface
|
||||||
service:
|
ansible.builtin.service:
|
||||||
name: '{{ arpwatch__service_name }}@{{ item }}'
|
name: '{{ arpwatch__service_name }}@{{ item }}'
|
||||||
state: '{{ "started" if ((arpwatch__enabled | d(True) | bool) and
|
state: '{{ "started" if ((arpwatch__enabled | d(True) | bool) and
|
||||||
(arpwatch__service_manage | d(True) | bool))
|
(arpwatch__service_manage | d(True) | bool))
|
||||||
|
|
Loading…
Reference in New Issue