Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 881 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 881 Bytes

Ansible playbooks

Playbooks for debian server

Roles

(Check for more on the roles directory)

Launch ansible :

ansible-playbook playbook.yml -i hosts --user username --ask-pass --ask-sudo-pass

Launch specific role in a host:

  ansible-playbook run_role.yml  -i 'hostname1,[hostname2, ...]' -e "ROLE={rolename}" --user {username} [--ask-pass] [--become] [--ask-become-pass]

Please note that at least one comma is required inside the -i arg. Example: -i '192.168.1.10,'