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 [2022/07/26 06:48] val [Настройка групп управляемых систем] |
сервис_ansible [2022/07/28 13:52] val [Использование модулей] |
||
---|---|---|---|
Line 96: | Line 96: | ||
node1# ansible corpX -m ping | node1# ansible corpX -m ping | ||
+ | node1# ansible localhost -m ping | ||
node1# ansible all -m ping | node1# ansible all -m ping | ||
node1# ansible all -m ping -i inv_file.ini | node1# ansible all -m ping -i inv_file.ini | ||
Line 105: | Line 106: | ||
node1# ansible corpX -f 2 -m apt -a 'pkg=apache2 state=present update_cache=true' | node1# ansible corpX -f 2 -m apt -a 'pkg=apache2 state=present update_cache=true' | ||
- | node1# ansible addnodes -f 5 -m apt -a 'pkg=ceph,tgt-rbd state=present update_cache=true' | + | node1# ansible addnodes -vv -f 5 -m apt -a 'pkg=ceph,tgt-rbd state=present update_cache=true' |
ubuntu20# apt install python3-paramiko | ubuntu20# apt install python3-paramiko | ||
Line 334: | Line 335: | ||
</code> | </code> | ||
===== Использование handlers ===== | ===== Использование handlers ===== | ||
+ | |||
+ | * [[Сервис HTTP#Использование домашних каталогов]] | ||
<code> | <code> |