Execute Play
This play is intended to be executed from AWX; however, here are some command line examples.
manual_list
- Specific space delineated servers or groups from your inventory.svcrqst
- An ID or record indicator for audit purposes.time_limit
- The amount of days the access is intended to persist.
ansible-playbook root_access.yml -e "manual_list='<fqdn1> <fqdn2>' userlist='<username_a> <username_b>' svcrqst='<a_CR_or_SR_number>' time_limit="<##>"" --tags create_sudoers
ansible-playbook root_access.yml -e "manual_list='<fqdn1> <fqdn2>' userlist='<username_a> <username_b>'" --tags revoke_access