release1.5.5: file module does not set mode on directory, if it exists

drwxr----- 3 root zabbix 4096 Apr 30 22:21 /var/lib/zabbix

playbook action:

  • name: “zabbix client: make directory /var/lib/zabbix”
    action: file state=directory path=/var/lib/zabbix
    owner=root group=zabbix mode=0740 setype=_default

rtv : ok=6 changed=0 unreachable=0 failed=0

release1.5.5

If this same bug exists on the development branch please report it on github at github.com/ansible/ansible.

Thanks!

–Michael