Victor's Liste hilfreicher Ansible Befehle
Gather facts
Einfache Abfrage vieler Systeminformationen
ansible --become --ask-become-pass <host_group> -m ansible.builtin.setup
Reboot hosts
ansible --become --ask-become-pass <host_group> -m ansible.builtin.reboot
Run Playbook
ansible-playbook --ask-become-pass /path/to/your/playbook.yml
Bestimmten User für die SSH-Session und root für die Aktion auf dem Remote-System nutzen
ansible --user <ssh-user> --become --ask-become-pass <host_group> -m ansible.builtin.setup
No comments to display
No comments to display