[ansible-project] Launch task with date in var

2022-07-12 Thread Gabz Modz
Hello, My playbook allows to create/disable users in the Active Directory, In my playbook, I'm going to look for my role which will allow me to generate my variables according to a CSV. In this CSV, I have a start date and an end date of an employee. I would like to know if it is possible to pr

[ansible-project] Register variable in another task

2022-04-13 Thread Gabz Modz
Hi, I hope you are well Im blocked to register variable to use in other task: Here is the tree structure: └── ansible-role ├── add_user.yml ├── collections │ └── requirements.yml ├── Export-Test.csv ├── roles ├── gargentieri.search │ └── tasks │ └── main.

[ansible-project] Ansible remove accent

2022-04-12 Thread Gabz Modz
Hello :) I have a playbook that generates the creation of an AD account, it works very well. Example: The account of Toto PIERRE with the email address toto.pie...@labo.lab is created correctly. The account of Médéric GOT with the email address médéric@labo.lab the samacount is created wi