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:
parent
6a3816dfdc
commit
462176464b
145 changed files with 366 additions and 366 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Clean sss caches
|
||||
command: sss_cache -E
|
||||
ansible.builtin.command: sss_cache -E
|
||||
|
||||
- name: Restart sssd
|
||||
shell: systemctl restart sssd
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
- name: Check that sysadmin-main and referenced groups exist on IPA server(s)
|
||||
delegate_to: "{{ item[0] }}"
|
||||
command: "getent group {{ item[1] }}"
|
||||
ansible.builtin.command: "getent group {{ item[1] }}"
|
||||
changed_when: false
|
||||
loop: >-
|
||||
{{
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
- vpn-client-enablement
|
||||
|
||||
- name: Enroll system as IPA client
|
||||
command:
|
||||
ansible.builtin.command:
|
||||
cmd: ipa-client-install
|
||||
{% if (vpn | default(false)) %}{% for node in ipa_server_nodes | default([]) %}
|
||||
--server={{ node }}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
- name: restart ipa
|
||||
command: ipactl restart
|
||||
ansible.builtin.command: ipactl restart
|
||||
|
|
|
@ -260,7 +260,7 @@
|
|||
# can't choose to let other users see their info or not.
|
||||
#
|
||||
# - name: Disable default permissions so we don't break our privacy policy
|
||||
# command:
|
||||
# ansible.builtin.command:
|
||||
# argv:
|
||||
# - ipa
|
||||
# - permission-mod
|
||||
|
@ -275,7 +275,7 @@
|
|||
#
|
||||
# # Because of the previous task, we must explicitely allow users to read their own data
|
||||
# - name: Allow users to read their own data
|
||||
# command:
|
||||
# ansible.builtin.command:
|
||||
# argv:
|
||||
# - ipa
|
||||
# - selfservice-add
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
- name: Create servicedelegationrule entry
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
command: ipa servicedelegationrule-add {{rulename}}-delegation
|
||||
ansible.builtin.command: ipa servicedelegationrule-add {{rulename}}-delegation
|
||||
register: add_result
|
||||
check_mode: no
|
||||
changed_when: "'Added service delegation rule' in add_result.stdout"
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
- name: Add servicedelegationrule members
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
command: ipa servicedelegationrule-add-member {{rulename}}-delegation --principals={{item.service}}/{{item.host}}@{{ipa_realm}}
|
||||
ansible.builtin.command: ipa servicedelegationrule-add-member {{rulename}}-delegation --principals={{item.service}}/{{item.host}}@{{ipa_realm}}
|
||||
loop: "{{ members }}"
|
||||
register: add_member_result
|
||||
check_mode: no
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
- name: Add servicedelegationrule targets
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
command: ipa servicedelegationrule-add-target {{rulename}}-delegation --servicedelegationtargets={{item}}-delegation-targets
|
||||
ansible.builtin.command: ipa servicedelegationrule-add-target {{rulename}}-delegation --servicedelegationtargets={{item}}-delegation-targets
|
||||
loop: "{{ targets }}"
|
||||
register: add_target_result
|
||||
check_mode: no
|
||||
|
@ -46,7 +46,7 @@
|
|||
|
||||
- name: Destroy admin ticket
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
command: kdestroy -A
|
||||
ansible.builtin.command: kdestroy -A
|
||||
tags:
|
||||
- config
|
||||
- krb5
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
- name: Create servicedelegationtarget entry
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
command: ipa servicedelegationtarget-add {{targetname}}-delegation-targets
|
||||
ansible.builtin.command: ipa servicedelegationtarget-add {{targetname}}-delegation-targets
|
||||
register: add_result
|
||||
check_mode: no
|
||||
changed_when: "'Added service delegation target' in add_result.stdout"
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
- name: Add servicedelegationtarget members
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
command: ipa servicedelegationtarget-add-member {{targetname}}-delegation-targets --principals={{item.service}}/{{item.host}}@{{ipa_realm}}
|
||||
ansible.builtin.command: ipa servicedelegationtarget-add-member {{targetname}}-delegation-targets --principals={{item.service}}/{{item.host}}@{{ipa_realm}}
|
||||
loop: "{{ members }}"
|
||||
register: add_member_result
|
||||
check_mode: no
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
- name: Destroy admin ticket
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
command: kdestroy -A
|
||||
ansible.builtin.command: kdestroy -A
|
||||
tags:
|
||||
- config
|
||||
- krb5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue