Greg DeKoenigsberg
a083c4f5a7
Add meeting info to Ansible community page
9 years ago
Toshio Kuratomi
52e9209491
Don't create world-readable module and tempfiles without explicit user permission
9 years ago
Matthew Gamble
7b06ec79e3
Add documentation for squash_actions configuration setting
9 years ago
David Blencowe
941e31e968
Update the Mac warning in intro_installation.rst
...
A setting of 1024 here causes other issues such as VMware not being able to start Virtual Machines. Changing to just "unlimited" as the option resolves this
9 years ago
Jason McKerr
a3d0c9e006
Update committer_guidelines.rst
9 years ago
Brian Coca
636871c2c0
Merge pull request #13377 from bruceharbin/patch-1
...
Update intro_windows.rst
9 years ago
Gerben Geijteman
c7e1a65da4
Proposed change to documentation to elaborate on new notation style for with_items / with_subelements
9 years ago
Michael Scherer
49f8376051
Fix small error (thse => these)
9 years ago
James Cammarata
eafeab4ab5
Merge pull request #14508 from brianlycett/patch-1
...
Update YAMLSyntax.rst
9 years ago
Toshio Kuratomi
60c943997b
More doc updates regarding ansible_shell_executable
9 years ago
Toshio Kuratomi
287fd29db9
Use better rst markup (main change definition lists instead of code-blocks for config file options
9 years ago
Brian Coca
06e6513276
Merge pull request #15023 from bpsuntrup/documentation_issue_15022
...
Clarify developing modules documentation
9 years ago
SUNTRUP
3bfb556cb9
Clarify developing modules documentation
...
This resolves issue #15022 . When doing the module tutorial, it might be
necessary for the user to read through the documentation for installing
from source to avoid dependency errors and such.
9 years ago
Toshio Kuratomi
e25caebe7a
Cleanups to docs and rename of inv var
9 years ago
Brian Coca
db61e9be0c
add ansible_executable inventory var
...
also handle the overrides appropriately
also new executable to set shell type
9 years ago
Brian Coca
84bbd2b4e3
corrected version added for ansible_version
9 years ago
Abhijit Menon-Sen
0c6693aa4c
Merge pull request #14947 from mscherer/add_ansible_version_doc
...
Add doc on ansible_version, fix #13204
9 years ago
Abhijit Menon-Sen
00312723b2
Merge pull request #14484 from Antillean/extra-vars_docs
...
Documenting that extra-vars 'key=value' is for strings
9 years ago
Abhijit Menon-Sen
cc7867d1de
Merge pull request #11642 from quentinsf/inventory_ignores
...
Mention inventory_ignore_extensions in the dynamic inventory documentation
9 years ago
Toshio Kuratomi
de708f7199
Document the issue with modules being created world-readable on the client in certain circumstances
9 years ago
Toshio Kuratomi
b6d5c6888b
Update link target
9 years ago
Toshio Kuratomi
0ad4ba5fe5
Fix another docs link problem
9 years ago
karimb
6efdaa6f4f
Include Ovirt in inventory list
9 years ago
Brian Coca
9be6974d37
Merge pull request #14949 from mscherer/fix_faq_syntax
...
Fix the lexer used, jinja2 is not valid, jinja is
9 years ago
Toshio Kuratomi
66328e5200
Merge pull request #14967 from ansible/facts-subset-and-cleanup
...
Facts subset and cleanup
9 years ago
Brian Coca
051b9e7b90
added warning about additional requirements
9 years ago
Toshio Kuratomi
512825455e
Make ohai and facter work via module_utils Fact classes rather than in the setup module
9 years ago
Toshio Kuratomi
5a1e35224b
Make changes proposed during review of restrict fact gathering feature:
...
* Make documentation examples into code blocks
* Make code to call the subsets more general.
* Made min subset always execute (cannot disable it).
* Use a passed in modules parameter rather than global modules. This is needed for ziploader
* Remove unneeded __init__()
* Remove uneeded multiple inheritance from a base class
* gather_facts is now a list type
9 years ago
Yannig Perré
88772b6003
Add a way to restrict gathered facts in Ansible:
...
- Using gather_subset options
- By ignoring ohai/chef or facter/puppet facts
9 years ago
Michael Scherer
b3d600f1ec
Fix the lexer used, jinja2 is not valid, jinja is
9 years ago
Michael Scherer
8b808cab9e
Add doc on ansible_version, fix #13204
9 years ago
Jason McKerr
5128167ee6
Merge pull request #14862 from mckerrj/devel
...
Adding committer guidelines to docsite
9 years ago
Jason McKerr
1e85abfcf2
updates based on feedback from docschick and bcoca.
9 years ago
Matt Davis
32a1662ad0
Merge pull request #14910 from mattclay/libvirt-no-selinux
...
Add noseclabel support to libvirt_lxc plugin.
9 years ago
Matt Clay
ba1bcdfc17
Add noseclabel support to libvirt_lxc plugin.
9 years ago
amesbury
1871f0ec16
Fixed typo
9 years ago
Rene Moser
4264df693f
docsite, cloudstack: add limited VPC support
...
Also see https://github.com/ansible/ansible-modules-extras/issues/1811
9 years ago
Jason McKerr
4af8676329
fix formatting for people section
9 years ago
Jason McKerr
e903b24cb7
initial checkin of the new Community Committer Guidelines
9 years ago
Michael Scherer
43309c0f5d
Fix various mispellings
9 years ago
Kishin Yagami
299c18d700
Support strategy_plugins setting in a configuration file
9 years ago
Matt Martz
2da2dc621b
Fix callback example in porting guide. See #14772
9 years ago
udesilva
fd28103c28
Update playbooks_lookups.rst
9 years ago
Evgeni Golov
b00a620fa5
don't escape asterisks in parameter lists
9 years ago
Dag Wieers
85a28179b7
Improve the wording a bit
...
According to what @amenonsen suggested in #10064 .
Although the additional statement is still needed to get rid of the ambiguity.
9 years ago
Dag Wieers
18d58e42d5
Improve ambiguous statement regarding handler order
...
This fixes #10064
9 years ago
Brian Coca
2cd52604e2
Merge pull request #14745 from jinesh-choksi/patch-1
...
On RHEL/CentOS 6 needed additional dependencies to build RPM
9 years ago
Brian Coca
7404d4ce7f
made dict example less ambigous
...
fixes #14748
9 years ago
Jinesh Choksi
78f6b61990
On RHEL/CentOS 6 needed additional dependencies to build RPM
...
To build an RPM on RHEL 6, we needed asciidoc, git and python-setuptools in addition to the rpm-build/make and python2-devel packages.
9 years ago
Brian Coca
70e7be0346
added clarification on moustaches
9 years ago
Brian Coca
d6716a2f90
noted issues with setup now inheriting environment
9 years ago
Brian Coca
583fafa07f
Merge pull request #14689 from jmatsushita/patch-2
...
Updated versions with current released and development
9 years ago
Brian Coca
30b137ad34
Merge pull request #14705 from rutsky/patch-1
...
fix reference to chapter + trailing dot
9 years ago
nitzmahone
d699ef72d2
Fixes #12433 with distro-agnostic text
9 years ago
Matt Davis
840cda741d
Merge pull request #12363 from breathe/devel
...
allow ConfigureRemotingForAnsible.ps1 script from public zone
9 years ago
Brian Coca
8766a9dbaf
added new gather behaviour to porting guide
...
also removed redundant header from changelog from merge
9 years ago
brianlycett
18e4a02c25
Update YAMLSyntax.rst
...
Ach - it's double backquotes in this markup.
9 years ago
brianlycett
6c7680b633
Update YAMLSyntax.rst
...
Small updates loosely based on suggestions. :)
9 years ago
Vladimir Rutsky
35880e6254
fix reference to chapter + trailing dot
9 years ago
Yannik
767856c463
fix typo
9 years ago
Yannik
192e22f6f4
fix typo
9 years ago
udesilva
9fcc0b307a
Update playbooks_lookups.rst
...
Added a warning regarding attempting to create a local password file when the user the playbook is running as cannot create it... causes Ansible to loop at that task.
9 years ago
Jun Matsushita
de0e7de15c
Updated versions with current released and development
9 years ago
Brian Coca
b0bed27211
minor doc fixes
9 years ago
Brian Coca
e60fef4dbe
Merge pull request #14660 from dagwieers/doc-hybrid-plugin
...
Added a section wrt. hybrid plugins and provide an example for lookup…
9 years ago
Brian Coca
fbdcb22e36
now generate list of playbook ojbect directives
...
TODO: needs links/info and conditionals added
9 years ago
Dag Wieers
e5600ee204
Turn it in correct reStructuredText
...
Why not AsciiDoc is beyond me, as it is much easier for documentation.
9 years ago
Dag Wieers
c1d90e3f2d
Added a section wrt. hybrid plugins and provide an example for lookup plugins
9 years ago
Brian Coca
03c33053aa
clarified become options do not imply others
...
fixes #14635
9 years ago
brianlycett
4160a3f40b
Update YAMLSyntax.rst
...
A brief explanation was added regarding multi-line values.
9 years ago
James Cammarata
8e0c8ffe7b
Merge pull request #14512 from scottsb/patch-1
...
Fix leftover references to sudo instead of become
9 years ago
Matt Martz
3ac0143cf1
Merge pull request #13654 from sivel/paramiko-proxy-command
...
Add ProxyCommand support to the paramiko connection plugin
9 years ago
Matt Martz
38b663471d
Merge pull request #14311 from sivel/unsafe-yaml-constructor
...
Add new 'unsafe' YAML constructor
9 years ago
Strahinja Kustudić
28b4f2a595
Adds ANSIBLE_VAULT_PASSWORD_FILE to the documentation site
9 years ago
James Cammarata
283532e11d
Updating IRC channel list in community doc
9 years ago
Matthew Huxtable
b59b5a286b
docsite: add missing closing square bracket
9 years ago
Sandra Wills
11f081cb99
minor typo fix
...
missing "the" added to 2.x listing to match wording for 1.x
9 years ago
Sandra Wills
c172a289e4
light editing of variable precedence list wording
...
QA had asked me a while ago to clean up the way the precedence list for 1.x was worded,
as the intro from the list started with "then comes", as if something should preceed
it. The comments from OxABAB were not helpful themselves, but his issue reminded me that
this was on my to do list to make a little cleaner and clearer. Edits made to remove the
"then comes" intros for each list line, to help with clarity.
9 years ago
Toshio Kuratomi
86b8dc0e79
Add a configuration setting that allows the user to specify printing of task arguments in the header.
...
Fixes #14554
9 years ago
Michael Scherer
4102812a69
Remove spurious 'either', fix #14520
9 years ago
Scott Buchanan
71dffbc28f
Fix leftover references to sudo instead of become
...
Catching a few places that earlier PR #10788 missed.
9 years ago
brianlycett
665e158ec0
Update YAMLSyntax.rst
...
Updated to include a bit more depth in explaining the YAML, along with a link the Wikipedia page on YAML syntax.
9 years ago
Adam Hartz
cebf127d68
Change reference to basic.py, where the implementation details live
9 years ago
Adam Hartz
327b27ba1c
Update stated location of common_module.py
9 years ago
Kamal Wood
0c1395ed2f
Documenting that values passed in using the extra-vars 'key=value' syntax are interpreted as strings.
9 years ago
Illia Krauchanka
889c273ac4
Update playbooks_lookups.rst
9 years ago
Brian Coca
4b953c4b16
extended api example with more options in tasks
...
also adopted to less requried options
9 years ago
Anton Belonovich
d24761af1b
Update playbooks_roles.rst
9 years ago
Timothy Hopper
f014b548e4
Link to /videos instead of the less obvious /resources
9 years ago
THEBAULT Julien
fd67d911c3
Update doc for the ansible-galaxy include directive
9 years ago
Brian Coca
50dfd4b057
fixed bad tag example
9 years ago
Dag Wieers
0a20c53ed6
A few more typos
...
I came across another typo, and fixed similar ones in the docs.
9 years ago
Dag Wieers
2f411557f5
Fix small typo
...
While reading one of the docs I found this small typo.
9 years ago
Brian Coca
597638c401
revamped become page
...
its not only for the 'upgrade from 1.8' anymore, become is the
official way to do things and now presents as such, no need to know
about previous options, but still keep info there for those that
were using them..
9 years ago
Brian Coca
3d894b0f13
corrected mizpellz
9 years ago
Brian Coca
d6283129e1
corrections and additions to porting guide
...
fixes in syntax to what is now allowable
added section from user feedback
9 years ago
Brian Coca
7037f793b9
Expain our commitment to API
9 years ago
Matt Martz
5cd4afaa1d
Add documentation about the unsafe YAML tag
9 years ago
Brian Coca
c433289a8b
clarified how block applies directives to tasks
...
previous text could be interpreted as the block itself doing the evaluation and skipping
9 years ago
Greg Taylor
96e22970ee
Fix a note tag in the API docs.
9 years ago
Brian Coca
0e551e6d46
clarified ansible_shell_type description
9 years ago
Brian Coca
6105c8c77c
corrected name of inventory_hostnames lookup plugin
9 years ago
Toshio Kuratomi
9e3932ffca
Some attributes of callbacks aren't in v2. Port plugins to the v2 way to do that
...
Update porting guide with info on callback porting
9 years ago
Brian Coca
f26673904f
updated intro adhoc to use become
9 years ago
Brian Coca
4b1d621442
Merge pull request #14173 from sradvan/doc-fix-bsd-intro
...
grammar fixes; capitalize where necessary; general clean-up
9 years ago
Scott Radvan
ba9e5fa6ba
grammar fixes; capitalize where necessary; general clean-up
9 years ago
Darren Tong
90c14644b0
Fixing typo depricated for deprecated.
9 years ago
James Cammarata
39b4117816
Merge pull request #14153 from oneswig/doc-ipaddr-add-subnet-masks
...
Details on how to convert subnet masks into CIDR
9 years ago
Brian Coca
a928465c9e
added note about 1.9 ppa
9 years ago
Stig Telfer
326ae21089
Details on how to convert subnet masks into CIDR
...
Use data reported by Ansible network facts as an example.
9 years ago
Brian Coca
4dc3441cdb
Merge pull request #14102 from senk/fix_docu
...
Fixes documentation formatting
9 years ago
Matthew Seaman
043b2cbcb4
Change example to use pkg rather than the obsolete pkg_add
...
pkg_add has been obsoleted in all released versions of FreeBSD for
several years. Change the example to use the appropriate pkg(8)
command line.
9 years ago
Robin Naundorf
6cc7f7890f
Fixes documentation formatting
...
Fixes documentation formatting
9 years ago
James Cammarata
6b166a1048
Merge pull request #14071 from rozha/devel
...
Fix server numbers in first 10 next 10 example
9 years ago
Ilya Novickov
46bd5a0d9c
Fix server numbers in first 10 next 10 example
9 years ago
Greg DeKoenigsberg
f3336fba44
Tweaking Python 2.4 requirement
9 years ago
Greg DeKoenigsberg
981e9c44ba
Put Python 2.4 in checklist
...
It's in the travis check, but we don't spell it out explicitly in the guidelines.
9 years ago
Greg DeKoenigsberg
a10e15c765
Update developing_test_pr.rst
9 years ago
Greg DeKoenigsberg
a4f91c2c53
format fix for github markup
9 years ago
Greg DeKoenigsberg
b900c104b9
Adding submodule help
9 years ago
Brian Coca
3750af45d4
clarified with_file
9 years ago
Brian Coca
742bd2c554
clarify role include paths
9 years ago
Brian Coca
11ca4e6282
Merge pull request #13934 from dlangille/dlangille-patch-2
...
Specify the correct default options for sudo_flags
9 years ago
Brian Coca
1c9774785f
Merge pull request #13923 from slimandslam/patch-1
...
Added example of running commands on a remote Windows Server
9 years ago
Dan Langille
2765708450
Specify the correct default values for sudo_flags
...
The correct default options for sudo_flags can be found at: https://github.com/ansible/ansible/blob/devel/lib/ansible/constants.py#L181
Slightly alter explanation of '-H' so as not to confuse it with -E, --preserve-env (which preserves existing environment variables).
When adding the two other options, include short explanations of those options.
Add note about '-n', which did not appear in 1.x I believe, and which bit me.
9 years ago
Dan Langille
2cde16a06c
Add correct default options for sudo_flags
...
see https://github.com/ansible/ansible/blob/devel/lib/ansible/constants.py#L181
9 years ago
Ryan Groten
e6ab0daa4b
minor wording fixes
9 years ago
J Levitt
8e059d058b
Added example of running commands on a remote Windows Server
...
Added example of running commands on a remote Windows Server
9 years ago
Brian Coca
ec95f50cb6
updated docs with new test grammer examples
9 years ago
Brian Coca
4de4d59d7a
changed examples to not use 'port' directive
9 years ago
Toshio Kuratomi
f72d380bcf
Specify all variables in the description to make it more clear
9 years ago
Toshio Kuratomi
be9d817618
Make example of deprecated args clearer
9 years ago
Brian Coca
739e4c0386
corrected info about windows module naming and loc
9 years ago
jfrappier
21ac96fa35
Updated intro_getting_started.rst to reference --ask-become-pass
9 years ago
Toshio Kuratomi
a3dcd99d96
Documentation fixes
9 years ago
Brian Coca
d9d4ad828a
zpell the corerstly
9 years ago
Brian Coca
2374abbeda
api not thread safe
...
also removed runner ref in general description as it is now a 1.x only thing.
9 years ago
Brian Coca
06b0161e6d
fixed extract version
9 years ago
Toshio Kuratomi
cacc22abbb
Add the porting guide
9 years ago
Brian Coca
a12164497b
Merge pull request #13726 from teolupus/devel
...
Added OpenStack dynamic inventory example
9 years ago
Brian Coca
f8b06e1613
Merge pull request #13785 from claremacrae/patch-1
...
Fixed typo: Integerations -> Integrations
9 years ago
James E. Blair
51255aed9b
Fix typo in API docs
...
This typo caused a SyntaxError when attempting to run the example
in the API docs.
9 years ago
Clare Macrae
04ace28f6d
Fixed typo: Integerations -> Integrations
9 years ago
Brian Coca
41a417be1f
noted that regex_escape was added in 2.0
...
fixes #13759
9 years ago
Sebastian Thiel
28be222ff0
correct invocation of launchctl
...
When I executed `launchctl limit maxfiles 1024 2048` , my entire system would become unusable, as all of the sudden no process could use any file anymore, reporting that the max file limit was reached.
Only a hard reboot could fix the problem, which fortunately revealed that the configuration was not saved.
The change I made *should* remedy the issue, even though I didn't test it.
Therefore I hope you can revise the documentation to be sure nothing bad happens.
# Meta
Tested on OSX 10.11.2
9 years ago
Michael
519952d7d7
Fix module name
9 years ago
Bruno Almeida do Lago
9e32099b5e
Added OpenStack dynamic inventory example
...
Added an example illustrating how to use the OpenStack dynamic inventory script
to the "Dynamic Inventory" section.
9 years ago
Fuentes, Christopher
de529c1734
minor grammar error was making me pull hair out
9 years ago
mgarstecki
5accc98587
Correction of a double negation
...
The sentence seemed to imply that return codes from modules are significant, while they are not. The second part of the sentence confirms this, as it advises to use standard return codes only for future proofing.
9 years ago
Brian Coca
2000566031
minor fix to become docs
9 years ago
Brian Coca
395bfec2f9
Merge pull request #13670 from stephen144/patch-1
...
intro_adhoc.rst: clarify idempotence explanation
9 years ago
Brian Coca
c489b271d1
updated release cycle to 4 months instead of 2
9 years ago
Stephen Medina
cd9e18d0e5
clarify idempotence explanation
...
Small typo; wasn't sure what to replace it with.
9 years ago
Matt Martz
630a35adb0
Add ProxyCommand support to the paramiko connection plugin
9 years ago
Brian Coca
b201cf2ee1
switched from pythonic None to generic null
9 years ago
Matt Roberts
809c9af68c
Update playbooks_intro.rst
...
If you follow the documentation through in order you shouldn't have
read about modules yet.
9 years ago
Toshio Kuratomi
b33f72636a
Also remove the bool casting function info (transparent to module writer now)
9 years ago
Toshio Kuratomi
b310d0ce76
Update the developing doc to modern method of specifying bool argspec values
9 years ago
Brian Coca
eb16e11253
Merge pull request #13613 from azaghal/devel-13126-dig_lookup_documentation
...
Adding documentation for the 'dig' lookup (#13126 ).
9 years ago
Brian Coca
593d80c63d
role search path clarified
9 years ago
Branko Majic
6ec58bbd5f
Adding documentation for the 'dig' lookup ( #13126 ).
9 years ago
James Cammarata
491fd754f1
Updating the porting guide to note the complex args/bare vars change
...
Related to #13518
9 years ago
James Cammarata
76b4b9ed2c
Merge pull request #13501 from chouseknecht/galaxy-2.0-update
...
Galaxy 2.0 update
9 years ago
Chrrrles Paul
851c0058b1
Removing yaml support for path:
9 years ago
David
63b624707d
Fix typo
9 years ago
Brian Coca
5d1a2eac3e
Merge pull request #13500 from mscherer/fix_markup_doc_modules
...
Fix the markdown used for the Windows module section
9 years ago
gp
e595c50197
Fix typo in galaxy.rst
...
Fix typo
9 years ago
chouseknecht
95785f149d
Fix docs. The search command works with both galaxy.ansible.com and galaxy-qa.ansible.com.
9 years ago
chouseknecht
06dde0d332
Fixed documentation typos and bits that needed clarification. Fixed missing spaces in VALID_ACTIONS.
9 years ago
chouseknecht
847f454bcc
Add a section to intro_configuration for Galaxy.
9 years ago
chouseknecht
342dee0023
Define and handle ignore_certs correctly. Preserve search term order. Tweak to Galaxy docsite.
9 years ago
chouseknecht
f1c72ff8f5
Make sure it is clear that new commands require using the Galaxy 2.0 Beta site.
9 years ago
chouseknecht
989604b1a3
Fix typo.
9 years ago
Usman Ehtesham Gul
4779f29777
Fix Doc mistake
...
Fix Doc mistake in ansible/docsite/rst/playbooks_variables.rst
9 years ago
Brian Coca
d7b516f75d
added releases doc
9 years ago
Brian Coca
0a112a1b06
fixed formating issues with rst
9 years ago
Brian Coca
8db2912745
corrected section anchors
9 years ago
Brian Coca
14f3739260
Merge pull request #13505 from janek-warchol/patch-2
...
Explain how 'run_once' interacts with 'serial'
9 years ago
Brian Coca
58072c92fb
removed 'bare' example in environment
...
now shows how to use explicit templating
9 years ago
Jan Warchoł
72f0679f68
Explain how 'run_once' interacts with 'serial'
9 years ago
Michael Scherer
fe72fff57d
Fix the markdown used for the Windows module section
9 years ago
Toshio Kuratomi
30e729557f
Add first draft of porting guide for 2.0
9 years ago
Brian Coca
a61387846d
draft release documentation
9 years ago
Toshio Kuratomi
a19e083d33
Note that handlers inside of includes are not possible at the moment
9 years ago
nitzmahone
a7cd41b482
Windows doc updates
9 years ago
Toshio Kuratomi
0211da2fe9
Clarify language of delegate_facts documentation
9 years ago
chouseknecht
4f84769a17
Galaxy 2.0
9 years ago
Brian Coca
c1cec64aa8
added delegate_facts docs
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
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
Ming Qian
7724c958e1
Update intro_windows.rst
...
first pull. thanks.
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
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
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
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 Cohen
fc0801e69b
describe command line options for ConfigureAnsibleForRemoting
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
Brian Coca
7f52d909c4
rewrote 1.x section of precedence to prevent promissing specificity to those reading docs for earlier versions
9 years ago
Brian Coca
6e34e84417
documenting var precedence
...
made new sections for vars, started explaining scope, gave example on command line override of connection vars
added some formatting changes and clarifications
9 years ago
Brian Coca
7c669f5a33
Merge pull request #12375 from jhawkesworth/configuring_kerberos_doc
...
Documentation PR. Add kerberos configuration instructions to windows intro page
9 years ago
Tim Gerla
e5a981e713
typo fix
9 years ago
Brian Coca
5c7bca9e17
Merge pull request #12369 from bborysenko/docsite/playbooks_variables
...
docs - minor fixes to playbooks_variables
9 years ago
Brian Coca
43ea5f0853
added note about registered variables
9 years ago
=
e5cad0fd9a
Add kerberos configuration instructions to windows intro
9 years ago
Borys Borysenko
6b396cdab7
fix code block quoting and boldface for modules name
9 years ago
yannig.perre@gmail.com
54eb08eb0d
Fix ansible v2 documentation for ini lookup plugin (property => properties).
9 years ago
Brian Coca
d8b671ca76
Merge pull request #12348 from bborysenko/docsite/playbooks_intro
...
docsite - playbooks_intro - minor tweaks
9 years ago
Borys Borysenko
4064063794
use boldface for modules name
9 years ago
Borys Borysenko
f5cfb5577e
fix code block quoting
9 years ago
Gerard Lynch
e5211a9b18
playbooks_filters - minor fixes
9 years ago
Abhijit Menon-Sen
f56a6e0951
Rename ansible_ssh_{host,port,user} in docs to ansible_*
...
The _ssh variants will continue to work, but the shorter, more generic
names are preferred now.
9 years ago
Brian Coca
6dac8512a1
Merge pull request #12307 from jtyr/doc_fixes
...
Doc fixes
9 years ago
Jiri tyr
14dc16ca54
Adding missing colon to fix the block formating
9 years ago
Jiri tyr
174f805fb3
Resurrection of the comment filter
9 years ago
Kenny Gillen
00d2a80542
s/rpmbuild/rpm-build
...
When I followed these instructions, the generated path was 'rpm-build', not 'rpmbuild'. My rpm-build version is rpm-build-4.11.1-25.el7.x86_64 if that's relevant. Maybe this is 'just me', but wanted to feed back in case it's the same for everyone.
9 years ago
Bill Nottingham
e2e15992b7
Update intro_windows.rst
...
Fix typo that broke RST -> html parsing.
9 years ago
Brian Coca
246e602fce
added note on ssh and sftp to managed node intro
9 years ago
Brian Coca
91a5d06c21
added note on os x file limits
9 years ago
Brian Coca
a424f3f7a5
Merge pull request #12278 from praveenkumar/doc_fix
...
Update doc to use 'become' instead of 'sudo'
9 years ago
Praveen Kumar
2fb98152ad
Update doc to use 'become' instead of 'sudo'
9 years ago
James Cammarata
2a32384a2c
Merge pull request #12227 from arbabnazar/patch-1
...
Update developing_modules.rst
9 years ago
James Cammarata
6650ba7654
Squashed commit of the following:
...
commit 9921bb9d20
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date: Mon Aug 10 20:19:44 2015 +0530
Document --ssh-extra-args command-line option
commit 8b25595e7b
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date: Thu Aug 13 13:24:57 2015 +0530
Don't disable GSSAPI/Pubkey authentication when using --ask-pass
This commit is based on a bug report and PR by kolbyjack (#6846 ) which
was subsequently closed and rebased as #11690 . The original problem was:
«The password on the delegated host is different from the one I
provided on the command line, so it had to use the pubkey, and the
main host doesn't have a pubkey on it yet, so it had to use the
password.»
(This commit is revised and included here because #11690 would conflict
with the changes in #11908 otherwise.)
Closes #11690
commit 119d032389
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date: Thu Aug 13 11:16:42 2015 +0530
Be more explicit about why SSH arguments are added
This adds vvvvv log messages that spell out in detail where each SSH
command-line argument is obtained from.
Unfortunately, we can't be sure if, say, self._play_context.remote_user
is obtained from ANSIBLE_REMOTE_USER in the environment, remote_user in
ansible.cfg, -u on the command line, or an ansible_ssh_user setting in
the inventory or on a task or play. In some cases, e.g. timeout, we
can't even be sure if it was set by the user or just a default.
Nevertheless, on the theory that at five v's you can use all the hints
available, I've mentioned the possible sources in the log messages.
Note that this caveat applies only to the arguments that ssh.py adds by
itself. In the case of ssh_args and ssh_extra_args, we know where they
are from, and say so, though we can't say WHERE in the inventory they
may be set (e.g. in host_vars or group_vars etc.).
commit b605c285ba
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date: Tue Aug 11 15:19:43 2015 +0530
Add a FAQ entry about ansible_ssh_extra_args
commit 49f8edd035
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date: Mon Aug 10 20:48:50 2015 +0530
Allow ansible_ssh_args to be set as an inventory variable
Before this change, ssh_args could be set only in the [ssh_connection]
section of ansible.cfg, and was applied to all hosts. Now it's possible
to set ansible_ssh_args as an inventory variable (directly, or through
group_vars or host_vars) to selectively override the global setting.
Note that the default ControlPath settings are applied only if ssh_args
is not set, and this is true of ansible_ssh_args as well. So if you want
to override ssh_args but continue to set ControlPath, you'll need to
repeat the appropriate options when setting ansible_ssh_args.
(If you only need to add options to the default ssh_args, you may be
able to use the ansible_ssh_extra_args inventory variable instead.)
commit 37c1a5b679
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date: Mon Aug 10 19:42:30 2015 +0530
Allow overriding ansible_ssh_extra_args on the command-line
This patch makes it possible to do:
ansible somehost -m setup \
--ssh-extra-args '-o ProxyCommand="ssh -W %h:%p -q user@bouncer.example.com"'
This overrides the inventory setting, if any, of ansible_ssh_extra_args.
Based on a patch originally by @Richard2ndQuadrant.
commit b023ace8a8
Author: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Date: Mon Aug 10 19:06:19 2015 +0530
Add an ansible_ssh_extra_args inventory variable
This can be used to configure a per-host or per-group ProxyCommand to
connect to hosts through a jumphost, e.g.:
inventory:
[gatewayed]
foo ansible_ssh_host=192.0.2.1
group_vars/gatewayed.yml:
ansible_ssh_extra_args: '-o ProxyCommand="ssh -W %h:%p -q bounceuser@gateway.example.com"'
Note that this variable is used in addition to any ssh_args configured
in the [ssh_connection] section of ansible.cfg (so you don't need to
repeat the ControlPath settings in ansible_ssh_extra_args).
9 years ago
Praveen Kumar
6e1f7cd503
Fix typo to avoid traceback during testing
9 years ago
Arbab Nazar
d2e547c31f
Update developing_modules.rst
9 years ago
Toshio Kuratomi
8cac397841
Note that backslash escaping has changed in some places
9 years ago
Greg DeKoenigsberg
ee7f7a82a8
Update developing_modules.rst
...
More specific about urllib2 restrictions
9 years ago
Greg DeKoenigsberg
ec95ad1062
Update developing_modules.rst
9 years ago
Greg DeKoenigsberg
9c150e5753
Update developing_modules.rst
9 years ago
James Cammarata
4c65306e73
Merge branch 'hostrange' of https://github.com/amenonsen/ansible into amenonsen-hostrange
9 years ago
Homme Zwaagstra
776eb3e8cd
Link to `constants.py` in the source tree.
...
`constants.py` is referenced in the *Environmental configuration* section of the documentation. This change provides a link from the documentation to the source code.
9 years ago
Steve McKuhr
f4fbfa6450
- Fixed line break causing part of the text to display as "Definition List"
...
which Sphinx renders in bold.
9 years ago
Abhijit Menon-Sen
b328bc023d
Add a combine filter with documentation
...
This is based on some code from (closed) PR #7872 , but reworked based on
suggestions by @abadger and the other core team members.
Closes #7872 by @darkk (hash_merge/hash_replace filters)
Closes #11153 by @telbizov (merged_dicts lookup plugin)
9 years ago
Sandra Wills
c752149fe7
ansible-lockdown added, minor editing
...
added info/link for ansible-lockdown to mailing list section, minor editing
(can't help myself it seems) to the paragraph about subscribing from a non-google account
9 years ago
Marius Gedminas
6dca640cb2
Fix typo, remove redundant paragraph
...
The bit about git rebase vs git merge is repeated in the paragraph below. The bit about test/integration is repeated in the paragraph above.
(And the bit about aliasing git pull to git pull --rebase is unclear, since git's aliases cannot override builtin operations.)
9 years ago
Abhijit Menon-Sen
d9086ab46b
Describe the groupname[x]/[x:y] syntax in more detail
9 years ago
Brian Coca
12703c79b6
Merge pull request #11949 from bcoca/bsd_intro
...
draft bsd intro and bootstrapping
9 years ago
Brian Coca
144da7e7d1
Merge pull request #11765 from ldx/vault_pbkdf2hmac
...
Use PBKDF2HMAC() from cryptography for vault keys.
9 years ago
Brian Coca
d0350b1905
Merge pull request #12024 from jhawkesworth/win_splitdrive_filter
...
Add win_splitdrive filter for windows users
9 years ago
Bill Nottingham
3fd3f685ad
Update faq
...
Guru is not a thing any more.
9 years ago
Jon Hawkesworth
a46b500851
Add win_splitdrive filter for windows users
9 years ago
Brian Coca
0eba819113
Merge pull request #11792 from deliciousfudge/devel
...
Update dependencies for pywinrm
9 years ago
Brian Coca
2f7164e3de
corrected typo
9 years ago
Brian Coca
ee21ebaffc
Merge pull request #11975 from mutemule/become_doas
...
Add become support for OpenBSD doas
9 years ago
Damian Gerow
1c5611100e
Add become support for OpenBSD doas
9 years ago
Tim Bielawa
5a84e61778
Fix variable name mis-match in website docs for ANSIBLE_LIBRARY. Clean up some dangling whitespace
9 years ago
Charles Chan
980f44ccba
Update intro_inventory.rst
...
Change 'SSH' to upper case.
9 years ago
Charles Chan
ec60db3907
Update intro_installation.rst
...
Improve documentation.
9 years ago
Patrick Easters
6ed66caaed
Fix typo on AWS guide page
...
I assume this should read “Ansible modules” rather than “Ansible
ensiles”
9 years ago
Brian Coca
5027f66562
Merge pull request #11864 from jhawkesworth/win_path_filters
...
add win_basename and win_dirname filters
9 years ago
Brian Coca
f1b30fd4f6
draft bsd intro and bootstrapping
9 years ago
Brian Coca
8e30e3791e
Merge pull request #11811 from amenonsen/fixme-range
...
FIXME in host range parsing
9 years ago
Craig Ringer
68c71ecba8
Document any_errors_fatal and max_fail_percentage
9 years ago
Tom Paine
19373e262c
Update playbooks_tags.rst
...
This important point gets lost in the fixed width word wrap of the docs site. Separating it out to it's own line stops it being lost in the noise of the previous sentence.
9 years ago
Carlos A. Carnero Delgado
7bdaac7f63
Adding documentation for ask_vault_pass usage in ansible.cfg
9 years ago
Christian Jensen
b5f5404e63
Tiny typo fix
9 years ago
Brian Coca
8f106c9a58
Merge pull request #11078 from Yannig/devel
...
New lookup plugin : ini
9 years ago
Brian Coca
3c57018a10
Merge pull request #11778 from Ensighten/add_credstash_plugin
...
add credstash lookup plugin
9 years ago
Brian Coca
7062cb3bb7
removed soon to be deprecated role like include syntax
9 years ago
Brian Coca
d1a6cfe6f0
Merge pull request #11798 from daburmistrov/daburmistrov-docsite-any_errors_fatal
...
add documentation about any_errors_fatal
9 years ago
daburmistrov
7d5026a330
removing confusing parts
9 years ago
Jon Hawkesworth
f69da544f7
add win_basename and win_dirname filters
9 years ago
Yannig Perré
47db352725
Merge remote-tracking branch 'ansible/devel' into devel
9 years ago
Yannig Perré
c0bd140959
Add documentation for the ini lookup plugin.
9 years ago
Brian Coca
479c4a4be9
enabled yaml highlighting globally, made specific emphasis for blocks in playbooks_blocks docs
9 years ago
Toshio Kuratomi
6faaf41069
Update conditional docs since @jimi-c got playbook includes working in 2.0
9 years ago
daburmistrov
0b277b43a4
add documentation about any_errors_fatal
9 years ago
Abhijit Menon-Sen
5f13d40a2b
Mention x:y ranges in pattern documentation
9 years ago
Roger Smith
8629ac539e
Extend python-kerberos dependency section
...
Add (untested) dependencies for Portage, pkg, OpenCSW, and Pacman
9 years ago
Scott Cunningham
92327ba11f
add credstash lookup plugin docs
9 years ago
Brian Coca
2ed5d29951
Merge pull request #11040 from resmo/patch-1
...
doc: we need GPLv3 license headers
9 years ago
Roger Smith
bbee2a9c65
Add pywinrm dependencies for RPM
9 years ago
Roger Smith
74e351a8ea
Update dependencies for pywinrm
...
Adding the python-dev and libkrb5-dev libraries avoids the error message "error: command 'x86_64-linux-gnu-gcc' failed with exit status 1" when running "pip install kerberos"
9 years ago
Brian Coca
827f2ff0ac
corrected var name
9 years ago
Vilmos Nebehaj
956fa80115
Add note about installing cryptography.
9 years ago
Toshio Kuratomi
0d7d22d530
Add json and fetch_url notes to checklist
9 years ago
Abhijit Menon-Sen
bb12121225
Fix incorrect example of vars_prompt
9 years ago
Sébastien Gross
c0b7fcd304
Add documentation for regex_escape filter
9 years ago
Brian Coca
6c1f4ddf7e
Merge pull request #11736 from mscherer/fix_9971
...
Add more explicit documentation on ansible_nodename and ansible_hostname
9 years ago
Brian Coca
c7c5b40aa8
Merge pull request #11735 from mscherer/fix_10273
...
Document and test 'is undefined' rather than 'is not defined'
9 years ago
Michael Scherer
c2c20baf01
Add more explicit documentation on ansible_nodename and ansible_hostname
...
Fix #9971 , based on text from Paul Czarkowski
9 years ago
Brian Coca
0dc1cbd6b9
Merge pull request #9524 from ktosiek/patch-1
...
guide_rax.rst: fix add_host invocations
9 years ago
Michael Scherer
106e942faa
Document and test 'is undefined' rather than 'is not defined'
...
According to https://github.com/ansible/ansible/issues/10273 ,
this syntax should work better for nested dicts.
9 years ago
Brian Coca
8ace659d4c
Merge pull request #10524 from TwoD/arch
...
Added installation instructions for Arch Linux.
9 years ago
Henrik Danielsson
c5d2db9c88
Added note about Python 2 for Arch Linux and a link to the ArchWiki page.
9 years ago
James Cammarata
014f3e8f7a
Merge pull request #11722 from amenonsen/tagdocs
...
Clarify that tagging an include/role tags every task within
9 years ago
Brian Coca
587a327647
Merge pull request #11495 from xmj/devel
...
docsite/rst/intro_configuration.rst: reword Title.
9 years ago
Brian Coca
92516f9d11
extend conditions for async error
...
fixes #11207
9 years ago
Abhijit Menon-Sen
50d0d99ba6
Clarify that tagging an include/role tags every task within
...
Closes #11361
9 years ago
Brian Coca
6e2aca2261
Merge pull request #11670 from jody-frankowski/update-intro-inventory-params
...
Fix intro_inventory documented params. Update for the new 'become' system
9 years ago
James Cammarata
f6a08ce1ba
Adding a note about chaining filters after default(omit)
...
Fixes #10164
9 years ago
Andy Dirnberger
02589ffbba
Fix formatting of Groups of Groups
...
The example in the Groups of Groups section was being rendered as a quote.
Switching to the `::` notation causes it to render as preformatted text instead.
This could have also been done with a `.. code:` block, but I chose to be
consistent with other sections in the document.
9 years ago
Quentin Stafford-Fraser
dfd19d6bd8
Fix typo in docs
9 years ago
Quentin Stafford-Fraser
7a3519bbaa
Documentation for inventory ignored extensions
9 years ago
Jody Frankowski
4713e58b57
modify intro inventory params docs to be shorter, ansible_su/do is moved out
9 years ago
Jody Frankowski
f7c9b5382d
Fix intro_inventory documented params. Update for the new 'become' system
9 years ago
Brian Coca
84cc5f9afb
Merge pull request #9961 from volanja/replace_running_to_started
...
to replace `running` with `started`
9 years ago
Brian Coca
c40541964b
Merge pull request #11637 from bcoca/moar_docs
...
Moar docs
9 years ago
Brian Coca
9b1babdaec
fixed typo
9 years ago
Brian Coca
cc6ba4b459
fixed spelling
9 years ago
Brian Coca
f8ca978020
fixed extra hashmark
9 years ago
Brian Coca
6bff315ed8
Merge pull request #11656 from MiguelMoll/small-grammar-fix
...
Update intro_configuration.rst
9 years ago
Miguel Moll
076ea66815
Update intro_configuration.rst
...
Removed a small grammar redundancy.
9 years ago
Brian Coca
bb1a907823
added version added for regex_replace
...
fixes #8994
9 years ago
Brian Coca
cddd2b2392
fixed typo
9 years ago
Brian Coca
c0bcbf3b88
more changes from feedback
9 years ago
Brian Coca
0208a2cb30
updated as per feedback
9 years ago
Marc Tamsky
2724adf18e
Explain uniqueness requrement for handler task names.
9 years ago
Brian Coca
493c2e48ac
Merge pull request #11072 from bcoca/winmod_checklist
...
added windows module checklist
9 years ago
Brian Coca
173f27531c
moar docs
...
added docs for new v2 features
restructures modules bar and core/extras info into their own pages
changed templates to refer to the new pages
added some missing ansible.cfg options
more info on gathering setting
9 years ago
Brian Coca
a91eee358c
fixed title underline length
9 years ago
objectified
b6b74746d9
fixed Github links to plugin sources
9 years ago
Brian Coca
698b277601
changed github and galaxy to always be https
...
fixes #9925
9 years ago
Brian Coca
493d91cb55
Merge pull request #11531 from tamsky/tamsky-document-jsonfile
...
document `jsonfile` fact cache
9 years ago
Brian Coca
9c5a6d7b5a
fixed all references to old plugins/inventory to point at contrib/inventory
9 years ago
Carlos E. Garcia
657495d13f
minor spelling changes
9 years ago
Marc Tamsky
aaf59319e4
document jsonfile and provide example config
9 years ago
Brian Coca
38904ead49
Merge pull request #11510 from jaceklaskowski/patch-1
...
Update index.rst
9 years ago
Jacek Laskowski
796c7accd1
Update intro_inventory.rst
...
Minor fix for consistency (and more engaging language :))
9 years ago
Jacek Laskowski
2a328ab61d
Update index.rst
9 years ago
Brian Coca
8224627036
Merge pull request #11487 from mikeputnam/ansible-ansible-issue-11397
...
Be more specific describing groups of groups,
9 years ago
Hugo van Kemenade
60ec726b37
Typos
9 years ago
Johannes Meixner
90a810e2a8
docsite/rst/intro_configuration.rst: reword Title.
...
Make Configuration the first word, so that it is in line with other documents
and that system administrators/devops people don't lose the tab when having
many browser tabs open.
9 years ago
Mike Putnam
02aa76d518
Remove docs remnant re: var use.
10 years ago
Mike Putnam
515de1e6eb
Be more specific describing groups of groups,
...
Fixes #11397
10 years ago
Jens Carl
3831f59094
Update developing_modules.rst
...
Fix typo.
10 years ago
Brian Coca
139138c604
Merge pull request #11370 from halberom/doc_magic_var
...
added role_path to magic var section
10 years ago
Toshio Kuratomi
f52c498aa1
Merge pull request #11410 from bhanuvrat/patch-1
...
grammar update to vault docs
10 years ago