Manage groups of computers remotely over SSH. (use the /etc/ansible/hosts
file to add new groups/hosts).
Some subcommands such as ansible galaxy
have their own usage documentation.
ansible {group} --list-hosts
ansible {group} -m ping
ansible {group} -m setup
ansible {group} -m command -a '{my_command}'
ansible {group} --become --ask-become-pass -m command -a '{my_command}'
ansible {group} -i {inventory_file} -m command -a '{my_command}'
ansible localhost -m debug -a '{var=groups.keys()}'
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB