We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that the permissions for pools of type dir are not correct applied.
dir
host vars:
libvirt_host_pools: - name: isos type: dir path: /data/isos owner: "root" group: "kvm" mode: "2775"
When running this role are the applied permissions are:
dr-x-wx-wt 4 root kvm 4096 Jul 1 08:58 isos
drwxrwsr-x 4 root kvm 4096 Jul 1 08:58 isos
When Iook in the tasks (pools.yml) I see that you try to apply the mode using this setting:
mode: "{{ item.mode|int(base=8) }}"
Correct would be to cast to string:
mode: "{{ item.mode|string }}"
The text was updated successfully, but these errors were encountered:
What if you remove the quotes?
mode: 02775
Sorry, something went wrong.
No branches or pull requests
It seems that the permissions for pools of type
dir
are not correct applied.Steps to produce
host vars:
Current behavior
When running this role are
the applied permissions are:
Wanted behavior
When Iook in the tasks (pools.yml) I see that you try to apply the mode using this setting:
Correct would be to cast to string:
The text was updated successfully, but these errors were encountered: