IBM / ansible-for-i

the tool is to provide several customized modules for Ansible to manage IBM i systems.
GNU General Public License v3.0
55 stars 51 forks source link

Set system values for QPWDMINLEN and QPWDRQDDGT #104

Open quikjean opened 3 years ago

quikjean commented 3 years ago

Hi This might not be a real issue I am new to Ansible on IBM i. I am trying to set up some system values through Ansible. I made it work okay with some but I get the following error with doing it with QPWDMINLEN and QPWDRQDDGT (I have QPWDLVL set to 2 - and it works with CHGSYSVAL in my shell script)

My code :

And the failure output of the second task : fatal: [d1237-pvm2.d1237.cecc.ihost.com]: FAILED! => changed=false

Thanks for your help on that fail_list:

It might be me with the type of data to pass in... but not sure.

quikjean commented 3 years ago

and just a FYI, I tried setting the values with single quotes/double quotes/no quote and that's why it differs a bit from the 1st task where I use only single quotes.