Commit Graph

1481 Commits (ae2447df9136353453c9ed48d44b2c7fa70231b0)

Author SHA1 Message Date
chouseknecht 4f84769a17 Galaxy 2.0 9 years ago
Brian Coca c1cec64aa8 added delegate_facts docs 9 years ago
Jeremy Audet 5cac8efd73 Make "make webdocs" compatible with Python 3
The `webdocs` make target fails under Python 3. It fails due to a variety of
syntax errors, such as the use of `except Foo, e` and `print 'foo'`. Fix #13463
by making code compatible with both Python 2 and 3.
9 years ago
Brian Coca dcedfbe26c corrected usage of ec2.py's profile option
this was never introduced into ansible-playbook though the docs
stated otherwise. We still explain how to use the env var to get the
same result.
9 years ago
sam-at-github a96a879fcf Add fullstop to make sentence make sense. Touch parargraph while at it. 9 years ago
Brian Coca 7d073bdd17 Merge pull request #13345 from amenonsen/extract
Add an 'extract' filter
9 years ago
Toshio Kuratomi 9caa2b0452 Revert "Update docs and example config for requiretty + pipelining change"
This reverts commit f873cc0fb5.

Reverting pipelining change for now due to hard to pin down bugs: #13410  #13411
9 years ago
Brian Coca 6559616a04 updated docs for 2.0 api 9 years ago
Brian Coca abeec3c8b5 Merge pull request #13322 from muffl0n/docs_regex_replace_named_groups
Add example for regex_replace using named groups
9 years ago
John Mitchell 76098823cd fixed docsite rail ad 9 years ago
Abhijit Menon-Sen 8cf1815867 Add an 'extract' filter
At its most basic, this is nothing more than an array or hash lookup,
but when used in conjunction with map, it is very useful. For example,
while constructing an "ssh-keyscan …" command to update known_hosts on
all hosts in a group, one can get a list of IP addresses with:

    groups['x']|map('extract', hostvars, 'ec2_ip_address')|list

This returns hostvars[a].ec2_ip_address, hostvars[b].ec2_ip_address, and
so on. You can even specify an array of keys for a recursive lookup, and
mix string and integer keys depending on what you're looking up:

    ['localhost']|map('extract', hostvars, ['vars','group_names',0])|first
        == hostvars['localhost']['vars']['group_names'][0]
            == 'ungrouped'

Includes documentation and tests.
9 years ago
Brian Coca afefaff1a7 Merge pull request #13382 from mscherer/doc_with_inventory
Add a documentation on how to loop over all inventory host
9 years ago
Michael Scherer c8bac7f54b Remove empty line breaking the formatting of the title 9 years ago
Michael Scherer 517b533d46 Add a documentation on how to loop over all inventory host
Related to #13343
9 years ago
Toshio Kuratomi f873cc0fb5 Update docs and example config for requiretty + pipelining change 9 years ago
James Cammarata d1b5653b53 Merge pull request #13367 from leedm777/patch-1
Corrected group separator
9 years ago
James Cammarata 70e1095546 Merge pull request #13372 from sreekanthpulagam/patch-1
Added missing closing quote
9 years ago
Sandra Wills c9b543bd67 Merge pull request #13286 from jlmitch5/docsite_ads
use hubspot based ads instead of stored files
9 years ago
sreekanth 96bd2a4447 Added missing closing quote 9 years ago
David M. Lee cfdb12c2ec Corrected group separator
The text said comma, but the examples were all colons.
9 years ago
Kerim Satirli 96c6b74754 removes editorial
I feel that Ansible is above the "my hosted Git community is better than yours" discussion and thus removed the editorial around Bitbucket
9 years ago
muffl0n fa3848a1f2 Add example for regex_replace using named groups 9 years ago
Raphael Badin 20a45ab36d Fix missing word in developing_modules.rst 9 years ago
John Mitchell 90cd5fb308 use hubspot based ads instead of stored files 9 years ago
dizzler b937018fcd Fix typo in modules_core.rst 9 years ago
René Moser a9f5837157 docsite: cloudstack: fix missing quotes in example 9 years ago
Matt Davis 8f00d1c698 Merge pull request #13212 from cchurch/recommended_pywinrm_version
Recommend using pywinrm >= 0.1.1 from PyPI instead of GitHub version.
9 years ago
Gilles Cornu dc60e08aa0 Documentation: Update the Vagrant Guide
This is an attempt to solve #7665.

Revert the change applied by f56a6e0951
(#12310), as the inventory generated by Vagrant still rely on the legacy
`_ssh` setting names for backwards compatibility reasons.
See also https://github.com/mitchellh/vagrant/issues/6570
9 years ago
Chris Church dea07438b5 Recommend using pywinrm >= 0.1.1 from PyPI instead of GitHub version. 9 years ago
Brian Coca f6fb47be8c Merge pull request #13172 from gebn/docs-grammar
Removed erroneous apostrophe in installation documentation
9 years ago
Brian Coca 1f34c6b214 updated yaml syntax and gotchas
specifically added example for getting strings that match boolean values
9 years ago
George Brighton 0dedf444a1 Removed erroneous apostrophe in installation documentation 9 years ago
Toshio Kuratomi 958fb29b78 Merge pull request #12881 from Scypho/devel
fix for issue #11885 - allowing json in lookup template calls
9 years ago
René Moser 1d7982c599 Update guide_cloudstack.rst 9 years ago
Toshio Kuratomi 317e908165 Merge pull request #13065 from tima/patch-2
Consistent inventory pattern delimiter in docs
9 years ago
Scott Radvan 19b95e9106 Update intro_bsd.rst
Minor fixes/wording/capitalization.
9 years ago
Timothy Appnel a8e1ec585d Consistent inventory pattern delimiter in docs
The inventory pattern delimiter used in the examples switches between the comma and colon. While both are valid I've found this throws off new users so I've modified the examples to consistently use a colon, the more common of the two in my experience.
9 years ago
Timothy Appnel fde7c14cd0 v1 variable precedence order was off.
Noticed that the v1 variable precedence docs list facts discovered as having a lower precedence than inventory variables. It is in reality the other way around. The v2 section gets this right.
9 years ago
cmluciano 6677c8b8f0 Provide git based example
I found it difficult to find documentation for how to pull from a git-based scm that wasn't github. The only way I could find this option was to dig through the google-group.
9 years ago
Toshio Kuratomi 4b75308439 Fix up rst formatting 9 years ago
Tim Gerla 9008b7b0e7 Clarify how tagged roles work
This is a confusing part of roles and tags. Most people assume that tagging a role means that the tagged tasks inside the role will run based on the tags specified. But in reality, it tags the whole role with those tags.
9 years ago
Toshio Kuratomi 5e0d55ae5b Change the dict attribute collision warning to recommend using bracket notation 9 years ago
Brian Coca 4ec0536168 made condition not simplifiable to 'in' 9 years ago
Brian Coca 21ffe8702d Merge pull request #12993 from ypid/avoid-python-object-name-in-complex-datatypes
Avoid key names which are valid attributes for data types in Python.
9 years ago
Brian Coca 1dbde84337 Merge pull request #12994 from resmo/for_ansible
doc: cloudstack guide fix up
9 years ago
Robin Schneider ad0d299c56
Avoid key names which are valid attributes for data types in Python.
Closes #12990.

Alternative to #12992

This PR excludes all attributes of the following data types: lists,
tuples, dicts, sets, integers, floats, strings and Unicode objects.

It is expected that only the attributes of dicts and sets would cause an
problem like in #12990.
9 years ago
Rene Moser 1243997c00 doc: cloudstack guide fix up 9 years ago
Brian Coca 3c3aff09c9 fixed documentation for host patterns separators 9 years ago
Brian Coca 9c09dc3ef8 Revert "Document , instead of : in intro_patterns, update changelog"
due to , being broken in 1.9

This reverts commit b47bc343ea.
9 years ago
René Moser 090f450d18 doc: add cloudstack guide to the guides 9 years ago