💾 Archived View for freeshell.de › tldr › ansible.gmi captured on 2022-04-28 at 18:04:29. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

ansible

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.

More information.

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