Re: [ansible-project] Setting Conditionals with Output

2020-08-12 Thread James Hixon
JYL, Appreciate the recommendation. I should have mentioned that the Windows OS is 2008r2. I did try this module before submitting and per the win_share module docs and error message after run, this OS is not supported by the win_share module. James On Wed, Aug 12, 2020 at 12:45 AM Jean-Yves LEN

Re: [ansible-project] Setting Conditionals with Output

2020-08-11 Thread Jean-Yves LENHOF
Hi, Perhaps using the module which does this, you'll have the idempotence ;-) https://docs.ansible.com/ansible/latest/modules/win_share_module.html Regars, JYL Le 11/08/2020 à 17:00, jhix...@gmail.com a écrit : New at Ansible and still trying to get the hang of setting conditional based upo

[ansible-project] Setting Conditionals with Output

2020-08-11 Thread jhix...@gmail.com
New at Ansible and still trying to get the hang of setting conditional based upon output. I am setting Windows file shares with the below task. The initial run works fine; however, when you repeat the task, it fails stating that the shares already exist. How do I set a conditional that states i