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
306caf84
Commit
306caf84
authored
Jun 16, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3218 from lorin/fileglob-roles
Document: with_file(glob) relative path and roles
parents
af9b5107
d7ba2e06
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
docsite/latest/rst/playbooks.rst
+2
-0
docsite/latest/rst/playbooks2.rst
+6
-0
No files found.
docsite/latest/rst/playbooks.rst
View file @
306caf84
...
...
@@ -438,6 +438,8 @@ inside another.
play
are
going
to
get
the
same
tasks
.
(
'*when*'
provides
some
ability
for
hosts
to
conditionally
skip
tasks
).
..
_roles
:
Roles
`````
...
...
docsite/latest/rst/playbooks2.rst
View file @
306caf84
...
...
@@ -467,6 +467,12 @@ be used like this::
with_file:
- /home/foo/.ssh/id_rsa.pub
.. note::
When using ``with_fileglob`` or ``with_file`` with :ref:`roles`, if you
specify a relative path (e.g., :file:`./foo`), Ansible resolves the path
relative to the :file:`roles/<rolename>/files` directory.
.. versionadded: 0.9
Many new lookup abilities were added in 0.9. Remeber lookup plugins are run on the *controlling* machine::
...
...
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