Closed TafkaMax closed 5 days ago
Duplicate of https://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collection/issues/20 and https://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collection/issues/126
You can look to system.change-password from fortios_monitor (with create an user with no password and after use this playbook for change/update the password)
After creating an initial user with a password, changing the password is not so trivial with Ansible anymore.
If you uncomment the #password key the you get:
So changing a password with ansible after inital creation becomes quite bothersome.
More info: https://community.fortinet.com/t5/Support-Forum/Fortigate-API-works-for-everything-but-admin-password-change/td-p/80126