Playbooks

https://github.com/Ezeqielle/Ansible-playbooks

Ansible commands

Ansible with inventory file

ansible-playbook -K -i 00_inventory.yml <inventory_group> 01_playbooks/<playbook>

Ansible with rudder inventory plugins

ansible-playbook -K -i rudder.py <rudder_group> 01_playbooks/<playbook>

Rudder playbooks

Rudder playbooks

Rudder-agent playbooks

For the rudder-agent playbook you will need to modify the 2 files in vars folder with your informations

secret.yml
rudder_user: rudderapiuser
rudder_user_password: rudderapiuserpassword
vars.yml
root_server: IP
Rudder playbooks

Rudder inventory plugins for Ansible

For the rudder invetory plugins you will need to modify the rudder.ini in ansible root folder with your informations

rudder.ini
token = <token readonly generated>
uri = https://<ip srv root rudder>/rudder/api

MDATP playbook

For the MDATP playbook you need to get your .zip archives and place it in the tasks folder with mdatp_onboard.json

Warning
DO NOT RENAME THE .zip ARCHIVES

MFA playbook

For the MFA playbook you will need to modify the vars file in vars folder with your informations

vars.yml
user_remote: username
user_remote_grp: user_group

MOTD playbook

For the MOTD playbook you will need to modify the template jinja in template folder with your informations where there is xxxxxxxxxxxxx.

01-custom.j2
**********************************************************************
**                         xxxxxxxxxxxxxxx                          **
**                                                                  **
**                  UNAUTHORISED ACCESS PROHIBITED                  **
**                                                                  **
**********************************************************************