mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Match directory permission with 755 instead of 644
Directories need the execution bit being set therefore instead of 644, it needs 755.
This commit is contained in:
parent
7fe3db408d
commit
1e8731f092
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ same options can be passed directly to the ``copy`` module as well::
|
||||||
|
|
||||||
The ``file`` module can also create directories, similar to ``mkdir -p``::
|
The ``file`` module can also create directories, similar to ``mkdir -p``::
|
||||||
|
|
||||||
$ ansible webservers -m file -a "dest=/path/to/c mode=644 owner=mdehaan group=mdehaan state=directory"
|
$ ansible webservers -m file -a "dest=/path/to/c mode=755 owner=mdehaan group=mdehaan state=directory"
|
||||||
|
|
||||||
As well as delete directories (recursively) and delete files::
|
As well as delete directories (recursively) and delete files::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue