Add user to administrators or administrateurs group

7 views
Skip to first unread message

fanchf...@gmail.com

unread,
Jul 10, 2017, 11:46:52 AM7/10/17
to Ansible Project
Hello,

I would like to create a playbook that adds a user to the "administrators" group. 
his action is simple and is an example. But my problem is that I have servers in FR and the group is not "administrators" but "administrateurs".

I saw that we could make conditions in the playbooks but I don't know how to test, if I am on an OS FR or US.

Could you advise me?

Thank you beforehand.
cordially
Reply all
Reply to author
Forward
0 new messages