This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервис_ansible [2024/05/07 16:45] val [ansible-pull] |
сервис_ansible [2024/06/01 10:48] val [Использование модулей] |
||
---|---|---|---|
Line 111: | Line 111: | ||
kube1# ansible kubes -a 'swapoff -a' | kube1# ansible kubes -a 'swapoff -a' | ||
ИЛИ | ИЛИ | ||
- | (venv1) server# ansible all -a 'sed -i"" -e "/swap/s/^/#/" /etc/fstab' -i /root/kubespray/inventory/mycluster/hosts.yaml #--limit=kube4 | + | (venv1) server# ansible all -a 'sed -i"" -e "/swap/s/^/#/" /etc/fstab' -i /root/kubespray/inventory/mycluster/hosts.yaml #--limit=kube4,kube5 |
(venv1) server# ansible all -a 'swapoff -a' -i /root/kubespray/inventory/mycluster/hosts.yaml #--limit=kube4 | (venv1) server# ansible all -a 'swapoff -a' -i /root/kubespray/inventory/mycluster/hosts.yaml #--limit=kube4 | ||
Line 688: | Line 688: | ||
=== Вариант 1 === | === Вариант 1 === | ||
- | * [[https://habr.com/ru/articles/732736/|GPO для Linux из подручных материалов]] | + | * [[https://habr.com/ru/articles/732736/|GPO для Linux из подручных материалов]] (help.desktop) |
<code> | <code> |