Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
f77c0a44
Commit
f77c0a44
authored
Jul 01, 2013
by
Jan-Piet Mens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
broken docs in files/file module!
remove obsolete examples: key
parent
955611bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
library/files/file
+2
-8
No files found.
library/files/file
View file @
f77c0a44
...
@@ -125,15 +125,9 @@ options:
...
@@ -125,15 +125,9 @@ options:
default: "no"
default: "no"
choices: [ "yes", "no" ]
choices: [ "yes", "no" ]
description:
description:
-
force the creation of the symlinks in two cases: the source file does
-
'force the creation of the symlinks in two cases: the source file does
not exist (but will appear later); the destination exists and a file (so, we need to unlink the
not exist (but will appear later); the destination exists and a file (so, we need to unlink the
"path" file and create symlink to the "src" file in place of it).
"path" file and create symlink to the "src" file in place of it).'
examples:
- code: "file: path=/etc/foo.conf owner=foo group=foo mode=0644"
description: Example from Ansible Playbooks
- code: "file: src=/file/to/link/to dest=/path/to/symlink owner=foo group=foo state=link"
- code: "action: file state=link path=/etc/localtime src=/usr/share/zoneinfo/Europe/Zurich force=yes"
description: Force /etc/locatime be the symbolic link to /usr/share/zoneinfo/Europe/Zurich
notes:
notes:
- See also M(copy), M(template), M(assemble)
- See also M(copy), M(template), M(assemble)
requirements: [ ]
requirements: [ ]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment