Closed mahendra-maplelabs closed 4 years ago
Can you confirm the operating system you are using and version as well as if this is on VMware, Hyper-V, bare-metal, etc?
By design if you do not specify a timezone it will force your local timezone, therefore if you had a policy with a non-local timezone and run the task again without a timezone it will see this as a change and change the timezone to the local timezone. You can see that in your output where it has set timezone
to be Asia/Kolkata
. Becuae this is set I don't need the answer to the first comment about your operating system.
This means that the first section of your report is a feature, not a bug.
For the second portion, ie not setting the timezone, I will investigate.
Addressed by #101
Thanks @sdodsley , #101 resolved the issue.
Describe the bug purefb_policy module always report change when
timezone
parameter not set and also It is not setting system timezone.To Reproduce Steps to reproduce the behavior:
Sample Playbook
Output
Expected behavior Re-running playbook with same state should not report status change.
Platform versions: purity-fb version v1.9.2 collection - latest code Ansible version 2.10