ansibleVerwalte Computergruppen per Fernzugriff über SSH (Verwende die Datei
/etc/ansible/hosts, um neue Gruppen/Hosts hinzuzufügen). Manche Unterbefehle wiegalaxysind separat dokumentiert. Weitere Informationen: https://docs.ansible.com/ansible/latest/cli/ansible.html.
ansible {{gruppe}} --list-hosts
ansible {{gruppe}} {{[-m|--module-name]}} ping
ansible {{gruppe}} {{[-m|--module-name]}} setup
ansible {{gruppe}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{befehl}}'
ansible {{gruppe}} {{[-b|--become]}} --ask-become-pass {{[-m|--module-name]}} command {{[-a|--args]}} '{{befehl}}'
ansible {{Gruppe}} {{[-i|--inventory]}} {{inventardatei}} {{[-m|--module-name]}} command {{[-a|--args]}} '{{befehl}}'
ansible localhost {{[-m|--module-name]}} debug {{[-a|--args]}} '{{var=groups.keys()}}'