Fix Ansible-lint E303 (#6409)
parent
0665b45e61
commit
34d88ea6d9
|
@ -29,8 +29,10 @@
|
|||
- Preinstall | reload kubelet
|
||||
when: is_fedora_coreos
|
||||
|
||||
- name: Preinstall | reload NetworkManager # noqa 303
|
||||
command: systemctl restart NetworkManager.service
|
||||
- name: Preinstall | reload NetworkManager
|
||||
service:
|
||||
name: NetworkManager.service
|
||||
state: restarted
|
||||
when: is_fedora_coreos
|
||||
|
||||
- name: Preinstall | reload kubelet
|
||||
|
|
|
@ -31,7 +31,8 @@
|
|||
changed_when: false
|
||||
check_mode: no
|
||||
|
||||
- name: check systemd-resolved # noqa 303
|
||||
- name: check systemd-resolved
|
||||
# noqa 303 Should we use service_facts for this?
|
||||
command: systemctl is-active systemd-resolved
|
||||
register: systemd_resolved_enabled
|
||||
failed_when: false
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
mode: 0755
|
||||
remote_src: yes
|
||||
|
||||
- name: Calico | Check if host has NetworkManager # noqa 303
|
||||
- name: Calico | Check if host has NetworkManager
|
||||
# noqa 303 Should we use service_facts for this?
|
||||
command: systemctl show NetworkManager
|
||||
register: nm_check
|
||||
failed_when: false
|
||||
|
|
Loading…
Reference in New Issue