mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
Fix outdated tag and experimental ansible-lint rules (#10254)
* project: fix outdated tag and experimental Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: remove no longer useful noqa 301 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: replace unnamed-task by name[missing] Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix daemon-reload -> daemon_reload Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
This commit is contained in:
committed by
GitHub
parent
4f85b75087
commit
f8f197e26b
@@ -38,7 +38,7 @@
|
||||
tags:
|
||||
- docker
|
||||
|
||||
- name: reset | systemctl daemon-reload # noqa 503
|
||||
- name: reset | systemctl daemon-reload # noqa no-handler
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
when: services_removed.changed
|
||||
@@ -174,7 +174,7 @@
|
||||
tags:
|
||||
- services
|
||||
|
||||
- name: reset | gather mounted kubelet dirs # noqa 301
|
||||
- name: reset | gather mounted kubelet dirs
|
||||
shell: set -o pipefail && mount | grep /var/lib/kubelet/ | awk '{print $3}' | tac
|
||||
args:
|
||||
executable: /bin/bash
|
||||
@@ -185,7 +185,7 @@
|
||||
tags:
|
||||
- mounts
|
||||
|
||||
- name: reset | unmount kubelet dirs # noqa 301
|
||||
- name: reset | unmount kubelet dirs
|
||||
command: umount -f {{ item }}
|
||||
with_items: "{{ mounted_dirs.stdout_lines }}"
|
||||
register: umount_dir
|
||||
|
||||
Reference in New Issue
Block a user