Commit Graph

1494 Commits (f1c72ff8f51b749165d5bc4089ca8c8fd5b22789)

Author SHA1 Message Date
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
René Moser 3f26b31e47 Create guide_cloudstack.rst 9 years ago
Lars Kellogg-Stedman dc8290ab7a add missing configuration examples
adds configuration examples missing from intro_configuration.rst.

Closes #12963.
9 years ago
jaamiller 4359189884 Update playbooks_lookups.rst
I was caught out by the different behaviour of lookups & local tasks, and could not find the difference documented anywhere at all, so I took the liberty of proposing this change.

Lookups are always relative to the role or play.
Local tasks are relative to the cwd from which you execute.
9 years ago
Jens Peter Schroer 9f2baf3f84 adding documentation 9 years ago
James Cammarata 27dc7e11a4 Merge pull request #12953 from larsks/bug/7890
add documentation for with_file loops
9 years ago
Will Thames ab55726fad Clarify module documentation
Make the position on _facts modules more emphatic
Add documentation for RETURN structure
9 years ago
Lars Kellogg-Stedman 097adec834 add documentation for with_file loops
This commit adds documentation for the `with_file` loop construct,
resolving #7890 and #9160.
9 years ago
Brian Coca 46acf892d5 clarified ignore_errors 9 years ago
Petrox cad053af04 Typo fix: invenotry to inventory
Typo fix: invenotry to inventory :)
9 years ago
Brian Coca 6637982deb added docs for include with_items and usage of multiple lopo vars (item) 9 years ago
Sandra Wills bc14ed380e variables precedence reordering and added para to help explain precedence rules 9 years ago
Aidan Hobson Sayers 9f8c4d716a Document setting environment variables in a playbook 9 years ago
Borys Borysenko 126276ce6c Fix order of handlers that were notified in different sections 9 years ago
José Moreira 25e4a3ad2a Fixed docs typo 9 years ago
Brano Zarnovican 84967e282a DOC: in yum examples, 'pkg' arg renamed to 'name'
* alternating both pkg/name in examples might be confusing
* even if pkg= is working, it is not documented in
  module's refrence guide
9 years ago
Nick Cartwright 17469d0781 Fix typo: comma not colon separates groups in patterns 9 years ago
Ryan S. Brown 48e1396496 Add -y to yum command, otherwise it would hang indefinitely 9 years ago
Ryan S. Brown 9dcde77e0e Document using the `raw` module to install a py2.X and simplejson
In the installation guide, the raw module is mentioned as an option for
installing Python or simplejson on managed nodes that don't have them.
This change adds an example for users that may already be familiar with
using ansible but are checking install docs because they don't know the
requirements for managed nodes, or are using a distribution that doesn't
include Python 2 by default.
9 years ago
Sandra Wills ce0cedc4a7 Merge pull request #12764 from docschick/docschick-fixes
vault and variables best practices info added, edited, and referenced
9 years ago
Sandra Wills 8501a46baa vault and variables best practices info added, edited, and referenced
This work fulfills PR #11799. Moved the content out of the vault file,
into best practices, edited it, then referenced it from variables and
vaults content files.
9 years ago
jdelaporte c2a5381438 Fix links to dynamic inventory script example.
:doc`aws_example` no longer existed.
9 years ago
Sandra Wills 1918604e72 reordering entries in glossary for alphabetical order 9 years ago
Toshio Kuratomi 3f2efddeb2 Merge pull request #12733 from docschick/ansible_ssh_docswork
added "include" for ansible_ssh_ change to another section
9 years ago
Sandra Wills 7dfce28e9a added "include" for ansible_ssh_ change note to another section of intro_inventory.rst for clarity 9 years ago
James Cammarata 76c8318351 Merge pull request #12688 from docschick/ansible_ssh_docswork
Ansible ssh changes docswork
9 years ago
Sandra Wills 32cb2fa215 removed repetition of note and replaced with an include directive
ansible_ssh_* changes from 1.9 to 2.0, original note made into a separate file
for easier editing, and an include for this new file added to each of the 6 file affected
by this change
9 years ago
Sandra Wills 748ff72b6b fixed typo, depricated --> deprecated, in all 6 notes 9 years ago
Toshio Kuratomi 6292520c45 Merge pull request #12444 from knakayama/bugfix/update-docs
Update docs (playbooks_loops.rst, playbooks_filters.rst)
9 years ago
Toshio Kuratomi d660381f98 Merge pull request #12450 from glnds/devel
Installation update for people using Fishshell
9 years ago
Toshio Kuratomi 676e4232e3 Merge pull request #12438 from lekum/doc_shelvefile_lookup
Update lookups doc with shelvefile example
9 years ago
Sandra Wills 84240c9f28 fixed git conflict with double para 9 years ago
Sandra Wills f24fbb04c9 note modified a bit, then reviewed/approved by jmartin
Ansible 2.0 has depricated the “ssh” from ansible_ssh_user,
ansible_ssh_host, and ansible_ssh_port to become ansible_user,
ansible_host, and ansible_port. If you are using a version of
Ansible prior to 2.0, you should continue using the older style
variables (ansible_ssh_*). These shorter variables are ignored,
without warning, in older versions of Ansible.
9 years ago
Sandra Wills 6af2b2a4cb added note about ansible_ssh_* change
added a note like the following to each file hit with unlabled 2.0 changes...
Ansible 2.0 moved away from using ansible_ssh_* variables to accepting
ansible_* variables. If you are using a version of Ansible prior to 2.0,
you should continue using the older style variables (ansible_ssh_*), such
as ansible_ssh_user instead of ansible_user and ansible_ssh_port instead of
ansible_port, which appear in the following content. These shorter variables
are ignored, without warning, in older versions of Ansible.
9 years ago
Bill Nottingham aec58bfbb3 Update playbooks_blocks.rst
Remove heading that appears to be extraneous.
9 years ago
deyvsh 155282f94a Indicate that credstash plugin is new in v2
Also offer a poor-man's alternative.
9 years ago
James Cammarata fb0294be03 Merge pull request #12657 from jhawkesworth/powershell_strict_mode_version_2
Explictly set the version of strict mode to use for powershell modules.
9 years ago
deyvsh c4c8493f1b Add an example for map() to the filters page 9 years ago
= 345ce424c6 Explictly set the version of strict mode to use for powershell modules. 9 years ago
Brian Coca 130ba70598 added missing blank line for markup separation 9 years ago
Brian Coca da458bbfd6 added way to display inventory vars for host to faq + some minor fixes/edits 9 years ago
Abhijit Menon-Sen 478e234bc3 Reword the jump host section in the FAQ
It's just s/extra_args/common_args/, but I reworded some parts to make
things a bit clearer too.

Closes #12335
9 years ago
Abhijit Menon-Sen 3ad9b4cba6 Rework additional ssh argument handling
Now we have the following ways to set additional arguments:

1. [ssh_connection]ssh_args in ansible.cfg: global setting, prepended to
   every command line for ssh/scp/sftp. Overrides default ControlPersist
   settings.
2. ansible_ssh_common_args inventory variable. Appended to every command
   line for ssh/scp/sftp. Used in addition to ssh_args, if set above, or
   the default settings.
3. ansible_{sftp,scp,ssh}_extra_args inventory variables. Appended to
   every command line for the relevant binary only. Used in addition to
   #1 and #2, if set above, or the default settings.
3. Using the --ssh-common-args or --{sftp,scp,ssh}-extra-args command
   line options (which are overriden by #2 and #3 above).

This preserves backwards compatibility (for ssh_args in ansible.cfg),
but also permits global settings (e.g. ProxyCommand via _common_args) or
ssh-specific options (e.g. -R via ssh_extra_args).

Fixes #12576
9 years ago
Brian Coca 00b8a24299 Merge pull request #12579 from acogdev/devel
Alphabitize retry_files_enabled and retry_files_save_path
9 years ago
Brian Coca 75f99f873b Merge pull request #12379 from bcoca/document_vars
Document vars

merging so we can push PRs against the common repo
9 years ago
Trond Hindenes e9786db541 Windows: Updated docs to reflect the new name of get-attr, along with examples 9 years ago
acogdev e6958df9a8 Put retry_files_enabled and retry_files_save_path into alphabetical order. Found when investigating #11491 9 years ago
Brian Coca d380cc7e7d Merge pull request #12543 from DevOps4Networks/devel
Guidance for pycrypto install on Mac OSX
9 years ago
Nathan Sowatskey e7029a90e6 #12454 changing to footnote. 9 years ago
Austin Ziegler 67a980c9ef Describe the units for fact_caching_timeout 9 years ago
Nathan Sowatskey 68a927466e Updating Mac OSX guidance comment to make it a note for issue #12454. 9 years ago
Nathan Sowatskey 420589c715 Adding Mac OSX guidance comment for issue #12454. 9 years ago
Toshio Kuratomi 4225c0677d Merge pull request #12548 from amenonsen/pr-9130-rebase
#9130 rebase: EC2 Inventory Boto Profile Support
9 years ago
Jameel Al-Aziz c08137a3d2 Update ec2 inventory documentation to refer to AWS_PROFILE 9 years ago
willthames 9c967dd054 Allow ec2 inventory to use a boto profile
This allows the EC2 inventory plugin to be used with
the same configuration against different EC2 accounts

Profile can be passed using --profile variable or using
EC2_PROFILE environment variable e.g.

```
EC2_PROFILE=prod ansible-playbook -i ec2.py playbook.yml
```

Added documentation on profiles to EC2 dynamic inventory doc

Only tries to use profiles if --profile argument is given
or EC2_PROFILE is set to maintain compatibility will boto < 2.24.

Works around a minor bug in boto where if you try and use
a security token with a profile it fails (boto/boto#2100)
9 years ago
Abhijit Menon-Sen d4af7d256b Mention ansible_ssh_pipelining in intro_inventory 9 years ago
Nathan Sowatskey ee6317ca07 Adding Mac OSX guidance comment for issue #12454. 9 years ago
Nathan Sowatskey c8835b873b Adding Mac OSX guidance comment for issue #12454. 9 years ago
Nathan Sowatskey f5c453f2b2 Adding Mac OSX guidance comment for issue #12454. 9 years ago
Brian Coca b757798f3e Merge pull request #12483 from jeffwidman/patch-2
Clarified that .yml, .yaml, and .json are allowable file extensions for inventory vars files
9 years ago
Marius Gedminas b57d549e16 Typo in shell command in example 9 years ago
Jeff Widman 3f135e3fac Clarified that .yml, .yaml, and .json are allowable file extensions for inventory variables files. 9 years ago
Jeff Widman 983ee0898d Add mention of roles_path parameter to `ansible-galaxy install` command 9 years ago
Nathaniel Schaaf 356cae9e5d Fix typo 9 years ago
Gert Leenders 2dc61bc73f Installation update for people using Fishshell 9 years ago
knakayama f717f14fe9 Update docs (playbooks_loops.rst, playbooks_filters.rst) 9 years ago
Toshio Kuratomi b11a44e5b4 Merge pull request #12097 from mgedmin/patch-1
Fix typo, remove redundant paragraph
9 years ago
James Cammarata 37f2cbc429 Merge pull request #12436 from amenonsen/ranges
Support «hosts: foo[1:]» and add tests for split/apply_subscript
9 years ago
Brian Coca 5dd61ad3fe Merge pull request #12409 from mgedmin/patch-2
Fix example formatting in the documentation
9 years ago
Abhijit Menon-Sen 2fcdb37e7b Support «hosts: groupname[1:]» notation (~= 'the rest of the group') 9 years ago
Alejandro Guirao 8288e27051 Update lookups doc with shelvefile example 9 years ago
James Cammarata 951128d7a6 Merge branch 'hostpatterns' of https://github.com/amenonsen/ansible into amenonsen-hostpatterns 9 years ago
James Cammarata ba82e57445 Merge branch 'sudo_on_if_needed' of https://github.com/apollo13/ansible into apollo13-sudo_on_if_needed 9 years ago
Abhijit Menon-Sen b47bc343ea Document , instead of : in intro_patterns, update changelog 9 years ago
Florian Apolloner d9f873495e Ported over #7158 to support SELinux context switches. 9 years ago
Paul Freeman f14c617084 Documentation for retry_files_enabled and retry_files_save_path 9 years ago
Marius Gedminas 5d3d53e890 Fix example formatting 9 years ago
James Cammarata 0685262d06 Merge pull request #12397 from lambeau/devel
Fix spelling
9 years ago
Chris Church c5409ab493 Remove ansible_winrm_ host/port/user/pass options, update exception handling around establishing a winrm connection. 9 years ago
Chris Church 056c6b77d0 Support additional options for WinRM connections via inventory variables. 9 years ago
Joshua Kugler 3004e9bec8 Fixing a small typo
Just adding a missing letter.
9 years ago
Nathaniel Schaaf ffc67f0a37 Fix spelling 9 years ago
James Cammarata 719e4020e0 Merge pull request #12387 from jkugler/patch-1
Small change so the YAML renders as code.
9 years ago
Joshua Kugler d31f61e35c Wrong column named
Correcting the docs to match the example, which I assume to be correct.
9 years ago
Joshua Kugler 1dc7cce910 Small change so the YAML renders as code.
The line above the last YAML code block in this document did not have the requisite :: characters, so the YAML did not render correctly in the docs.
9 years ago
Brian Coca 0aeaacb947 fixed zpellings 9 years ago
Brian Coca b6d6c2e4db corrected all missing paths changes 9 years ago
Brian Coca 4241df41aa fixed typoe (thanks @resmo) 9 years ago