2025-03-19 08:13:26 +00:00

446 B

  • cat /etc/os-release on both systems
ansible all --inventory "139.59.129.145, 134.122.91.44" -a 'cat /etc/os-release'
  • vytvoreni ansible configu
ansible-config init --disabled > ansible.cfg
  • upravit v configu inventory=./hosts

  • popis inventory

ansible-inventory --list
  • ping skupiny/jednotlivce z inventory
ansible vm -m ping 
  • pusteni konkretniho playbooku
ansible-playbook play-1.yml