![]() ![]() Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results.Īs of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).Īs of Ansible 2.3, the mode may also be the special string preserve. You must either add a leading zero so that Ansible’s YAML parser knows it is an octal number (like 0644 or 01777) or quote it (like '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. The permissions of the destination file or directory.įor those used to /usr/bin/chmod remember that modes are actually octal numbers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |