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
7628ccbf
Commit
7628ccbf
authored
May 31, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3075 from dahpgjgamgan/doc_yaml_fix
advanced playbooks docs yaml snippets always use ---
parents
b8630d2b
8ebd1792
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docsite/latest/rst/playbooks2.rst
+4
-4
No files found.
docsite/latest/rst/playbooks2.rst
View file @
7628ccbf
...
@@ -54,7 +54,7 @@ your webservers in "webservers.yml" and all your database servers in
...
@@ -54,7 +54,7 @@ your webservers in "webservers.yml" and all your database servers in
"dbservers.yml". You can create a "site.yml" that would reconfigure
"dbservers.yml". You can create a "site.yml" that would reconfigure
all of your systems like this::
all of your systems like this::
---
-
---
- include: playbooks/webservers.yml
- include: playbooks/webservers.yml
- include: playbooks/dbservers.yml
- include: playbooks/dbservers.yml
...
@@ -250,7 +250,7 @@ This is useful, for, among other things, setting the hosts group or the user for
...
@@ -250,7 +250,7 @@ This is useful, for, among other things, setting the hosts group or the user for
Example::
Example::
---
--
---
- user: '{{ user }}'
- user: '{{ user }}'
hosts: '{{ hosts }}'
hosts: '{{ hosts }}'
tasks:
tasks:
...
@@ -432,7 +432,7 @@ can accept more than one parameter.
...
@@ -432,7 +432,7 @@ can accept more than one parameter.
``with_fileglob`` matches all files in a single directory, non-recursively, that match a pattern. It can
``with_fileglob`` matches all files in a single directory, non-recursively, that match a pattern. It can
be used like this::
be used like this::
---
-
---
- hosts: all
- hosts: all
tasks:
tasks:
...
@@ -592,7 +592,7 @@ The environment can also be stored in a variable, and accessed like so::
...
@@ -592,7 +592,7 @@ The environment can also be stored in a variable, and accessed like so::
While just proxy settings were shown above, any number of settings can be supplied. The most logical place
While just proxy settings were shown above, any number of settings can be supplied. The most logical place
to define an environment hash might be a group_vars file, like so::
to define an environment hash might be a group_vars file, like so::
---
-
---
# file: group_vars/boston
# file: group_vars/boston
ntp_server: ntp.bos.example.com
ntp_server: ntp.bos.example.com
...
...
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