Commit Graph

1387 Commits (3ad9b4cba62707777c3a144677e12ccd913c79a8)

Author SHA1 Message Date
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
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
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