Files
Wiki/Ansible
Michael Schlapa a5d7792d63 ansible filter
2020-05-11 12:22:05 +02:00
..
AWX
2020-03-18 09:39:34 +01:00
2020-03-24 11:15:34 +01:00
2020-05-11 12:22:05 +02:00
2020-04-16 11:00:52 +02:00

Ansible

Adhoc commands

Generic

ansible <hosts/groups pattern> -l <limit pattern> -m <module> -a "<module args>" -u <login user> --become --ask-become-pass

Example

ansible all -l localhost -m systemd -a "name=nginx state=restarted" -u test --become --ask-become-pass