DataDog / ansible-datadog

Ansible role for Datadog Agent
Apache License 2.0
298 stars 222 forks source link

Change mode to string parameters #528

Closed janorn closed 6 months ago

janorn commented 10 months ago

Update playbook to use string type on mode parameter.

Fixes #527

janorn commented 9 months ago

From Ansible docs:

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

janorn commented 9 months ago

Rebased and squashed commits

janorn commented 9 months ago

@chouetz anything else needed for this to be reviewed?