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
64cb88aa
Commit
64cb88aa
authored
Sep 02, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8802 from garywu/patch-3
Update playbooks_variables.rst
parents
1880279b
b0c48971
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
docsite/rst/playbooks_variables.rst
+3
-5
No files found.
docsite/rst/playbooks_variables.rst
View file @
64cb88aa
...
@@ -5,19 +5,17 @@ Variables
...
@@ -5,19 +5,17 @@ Variables
While automation exists to make it easier to make things repeatable, all of your systems are likely not exactly alike.
While automation exists to make it easier to make things repeatable, all of your systems are likely not exactly alike.
All of your systems are likely not the same. On some systems you may want to set some behavior
On some systems you may want to set some behavior or configuration that is slightly different from others.
or configuration that is slightly different from others.
Also, some of the observed behavior or state
Also, some of the observed behavior or state
of remote systems might need to influence how you configure those systems. (Such as you might need to find out the IP
of remote systems might need to influence how you configure those systems. (Such as you might need to find out the IP
address of a system and even use it as a configuration value on another system).
address of a system and even use it as a configuration value on another system).
You might have some templates for configuration files that are mostly the same, but slightly different
You might have some templates for configuration files that are mostly the same, but slightly different based on those variables.
based on those variables.
Variables in Ansible are how we deal with differences between systems.
Variables in Ansible are how we deal with differences between systems.
Once understanding
variables you'll also want to dig into :doc:`playbooks_conditionals` and :doc:`playbooks_loops`.
To understand
variables you'll also want to dig into :doc:`playbooks_conditionals` and :doc:`playbooks_loops`.
Useful things like the "group_by" module
Useful things like the "group_by" module
and the "when" conditional can also be used with variables, and to help manage differences between systems.
and the "when" conditional can also be used with variables, and to help manage differences between systems.
...
...
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