hifis-net / ansible-role-netplan

:warning: PLEASE NOTE: This role has been migrated to our hifis.toolkit collection. :warning: This role installs Netplan and configures networking on hosts.
https://galaxy.ansible.com/ui/repo/published/hifis/toolkit/
Other
3 stars 2 forks source link

Fix wide permissions warning #98

Closed chrisvanmeer closed 10 months ago

chrisvanmeer commented 11 months ago

In the current setup, the files are created with a mode of 0644.
When either reviewing the system log files or performing a manual netplan apply, one gets presented with the following warning.

** (process:163681): WARNING **: 11:52:57.653: Permissions for /etc/netplan/config.yaml are too open. Netplan configuration should NOT be accessible by others.

Therefore changing the permissions mode to 0600.