ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command

Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lerch
2024-12-19 11:22:24 +10:00
parent 6a3816dfdc
commit 462176464b
145 changed files with 366 additions and 366 deletions

View File

@@ -50,7 +50,7 @@
- dns
# - name: Create GeoIP acl
# command: /var/named/GeoIP.sh
# ansible.builtin.command: /var/named/GeoIP.sh
# changed_when: "1 != 1"
# notify:
# - restart named
@@ -82,7 +82,7 @@
- dns
- name: Update dns
command: /usr/local/bin/update-dns
ansible.builtin.command: /usr/local/bin/update-dns
changed_when: "1 != 1"
notify:
- restart named
@@ -96,14 +96,14 @@
- dns
- name: Check configuration
command: named-checkconf -zj
ansible.builtin.command: named-checkconf -zj
changed_when: false
tags:
- config
- dns
- name: Check semanage ports
command: semanage port -l
ansible.builtin.command: semanage port -l
register: semanageoutput
check_mode: no
changed_when: "1 != 1"
@@ -111,7 +111,7 @@
- dns
- name: Set ports so bind statistics-channel can bind to 8053
command: semanage port -a -t dns_port_t -p tcp 8053
ansible.builtin.command: semanage port -a -t dns_port_t -p tcp 8053
when: semanageoutput.stdout.find("8053") == -1
notify:
- restart named