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
92844d3d
Commit
92844d3d
authored
Mar 06, 2013
by
Jim Kleckner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor spelling fixes
parent
ca16a91d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
10 deletions
+10
-10
CHANGELOG.md
+2
-2
docsite/rst/examples.rst
+1
-1
docsite/rst/patterns.rst
+1
-1
docsite/rst/playbooks.rst
+1
-1
docsite/rst/playbooks2.rst
+2
-2
lib/ansible/module_common.py
+1
-1
lib/ansible/runner/__init__.py
+1
-1
library/sysctl
+1
-1
No files found.
CHANGELOG.md
View file @
92844d3d
...
...
@@ -205,7 +205,7 @@ Other core changes:
*
fix for template calls when last character is '$'
*
if ansible_python_interpreter is set on a delegated host, it now works as intended
*
--limit can now take "," as sep
e
rator as well as ";" or ":"
*
--limit can now take "," as sep
a
rator as well as ";" or ":"
*
msg is now displaced with newlines when a task fails
*
if any with_ plugin has no results in a list (empty list for with_items, etc), the task is now skipped
*
various output formatting fixes/improvements
...
...
@@ -502,7 +502,7 @@ internals:
*
support for older versions of python-apt in the apt module
*
a new "assemble" module, for constructing files from pieces of files (inspired by Puppet "fragments" idiom)
*
ability to override most default values with ANSIBLE_FOO environment variables
*
--module-path parameter can support multiple directories sep
erated with the OS path sepe
rator
*
--module-path parameter can support multiple directories sep
arated with the OS path sepa
rator
*
with_items can take a variable of type list
*
ansible_python_interpreter variable available for systems with more than one Python
*
BIOS and VMware "fact" upgrades
...
...
docsite/rst/examples.rst
View file @
92844d3d
...
...
@@ -226,7 +226,7 @@ also works with ``ansible-playbook``::
$ ansible webservers:dbservers -m command -a "/bin/foo xyz" --limit region
Assuming version 0.9 or later, as with other host patterns, values to limit can be sep
e
rated with ";", ":", or ",".
Assuming version 0.9 or later, as with other host patterns, values to limit can be sep
a
rated with ";", ":", or ",".
Now let's talk about range selection. Suppose you have 1000 servers in group 'datacenter', but only want to target one at a time. This is also easy::
...
...
docsite/rst/patterns.rst
View file @
92844d3d
...
...
@@ -185,7 +185,7 @@ variables to groups. These variables can be used by /usr/bin/ansible-playbook,
southeast
If you need to store lists or hash data, or prefer to keep host and group specific variables
sep
e
rate from the inventory file, see the next section.
sep
a
rate from the inventory file, see the next section.
Splitting Out Host and Group Specific Data
++++++++++++++++++++++++++++++++++++++++++
...
...
docsite/rst/playbooks.rst
View file @
92844d3d
...
...
@@ -414,7 +414,7 @@ Tips and Tricks
Look at the bottom of the playbook execution for a summary of the nodes that were executed
and how they performed. General failures and fatal "unreachable" communication attempts are
kept sep
e
rate in the counts.
kept sep
a
rate in the counts.
If you ever want to see detailed output from successful modules as well as unsuccessful ones,
use the '
--
verbose
' flag. This is available in Ansible 0.5 and later.
...
...
docsite/rst/playbooks2.rst
View file @
92844d3d
...
...
@@ -324,7 +324,7 @@ In Ansible 0.8, a few shortcuts are available for testing whether a variable is
There is a matching 'is_unset' that works the same way. Quoting the variable inside the function is mandatory.
When combining `only_if` with `with_items`, be aware that the `only_if` statement is processed sep
e
rately for each item.
When combining `only_if` with `with_items`, be aware that the `only_if` statement is processed sep
a
rately for each item.
This is by design::
tasks:
...
...
@@ -343,7 +343,7 @@ Conditional Execution (Simplified)
In Ansible 0.9, we realized that only_if was a bit syntactically complicated, and exposed too much Python
to the user. As a result, the 'when' set of keywords was added. The 'when' statements do not have
to be quoted or casted to specify types, but you should sep
e
rate any variables used with whitespace. In
to be quoted or casted to specify types, but you should sep
a
rate any variables used with whitespace. In
most cases users will be able to use 'when', but for more complex cases, only_if may still be required.
Here are various examples of 'when' in use. 'when' is incompatible with 'only_if' in the same task::
...
...
lib/ansible/module_common.py
View file @
92844d3d
...
...
@@ -632,7 +632,7 @@ class AnsibleModule(object):
def _log_invocation(self):
''' log that ansible ran the module '''
# TODO: generalize a sep
e
rate log function and make log_invocation use it
# TODO: generalize a sep
a
rate log function and make log_invocation use it
# Sanitize possible password argument when logging.
log_args = dict()
passwd_keys = ['password', 'login_password']
...
...
lib/ansible/runner/__init__.py
View file @
92844d3d
...
...
@@ -681,7 +681,7 @@ class Runner(object):
# *****************************************************
def
_partition_results
(
self
,
results
):
''' sep
e
rate results by ones we contacted & ones we didn't '''
''' sep
a
rate results by ones we contacted & ones we didn't '''
if
results
is
None
:
return
None
...
...
library/sysctl
View file @
92844d3d
...
...
@@ -29,7 +29,7 @@ version_added: "1.0"
options:
name:
description:
- this is the short path, decimal sep
e
rated, to the sysctl entry
- this is the short path, decimal sep
a
rated, to the sysctl entry
required: true
default: null
aliases: [ 'key' ]
...
...
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