Commit graph

2129 commits

Author SHA1 Message Date
scottb
3afc15a013 Merge pull request #18306 from zerOnepal/HEAD
improving readme on dynamic inventory for ec2.ini options
2016-11-08 13:32:55 -08:00
Matt Davis
96158cc999 add connection var delegation/lookup fix to roadmap 2016-11-08 10:12:13 -08:00
John R Barker
e52ce12ba4 Update ROADMAP_2_3.rst (#18426) 2016-11-08 17:49:18 +01:00
Jason McKerr
e8e09f3df6 Ansible Core 2.3 Roadmap (#18421)
* initial checkin. needs annotation at the top, dates, and review

* Update ROADMAP_2_3.rst

cleanup and add notes at the top

* Update ROADMAP_2_3.rst

fix indentation
2016-11-08 11:18:28 -05:00
Evgeni Golov
de646243a2 fix formating on the intro_dynamic_inventory page
* don't mark `./ec2.py --refresh-cache` as a comment
* format `./openstack.py --refresh --list` as code
* format `--refresh` as code
2016-11-08 16:31:43 +01:00
Brian Coca
0b77942bbc clarified ansible_ssh_host to not imply removal 2016-11-08 09:07:19 -05:00
scottb
75459fb688 Update intro_dynamic_inventory.rst
Minor edits for readability.
2016-11-07 20:23:59 -08:00
Yannig Perré
fb0057662b json_query documentation. 2016-11-07 18:51:18 +01:00
scottb
fcada3e889 Merge pull request #17201 from trondhindenes/windows_module_docs
Windows module docs
2016-11-06 10:58:28 -08:00
Trond Hindenes
986d88c6ff bugfix text 2016-11-06 13:21:58 +01:00
scottb
2131eaba0c Merge pull request #18350 from Shaps/ssh_cp_dir_option_docs
Docs for control_path_dir option
2016-11-04 00:14:12 -07:00
Andrea Tartaglia
e70561540c Docs for control_path_dir option 2016-11-03 22:11:19 +00:00
Matt Clay
469c4a106b Fix and create code-smell test for line endings. 2016-11-03 14:58:11 -07:00
Matt Clay
0d46805979 Clean up shebangs for various files.
- Remove shebangs from:
  - ini files
  - unit tests
  - module_utils
  - plugins
  - module_docs_fragments
  - non-executable Makefiles
- Change non-modules from '/usr/bin/python' to '/usr/bin/env python'.
- Change '/bin/env' to '/usr/bin/env'.

Also removed main functions from unit tests (since they no longer
have a shebang) and fixed a python 3 compatibility issue with
update_bundled.py so it does not need to specify a python 2 shebang.

A script was added to check for unexpected shebangs in files.
This script is run during CI on Shippable.
2016-11-02 17:00:27 -07:00
Sébastien BARTHÉLÉMY
a4c11ee231 add missing newline in ansible_play_batch doc 2016-11-02 13:39:11 -04:00
Milan Thapa
2de3a5d849 improving readme on dynamic inventory for ec2.ini options
few lines to avoid these noise: https://github.com/ansible/ansible/issues/10840
2016-11-02 19:04:10 +05:45
Matt Martz
cb1e3dab0d Add 'type' filter for display the underlying python type of a variable (#18242)
* Add 'type' filter for display the underlying python type of a variable

* Update playbooks_filters.rst

Minor copyedit.
2016-10-31 13:36:24 -07:00
René Moser
01af859090 cloudstack: add support for defining some args as ENV vars (#17946)
These ENV vars are:
  - CLOUDSTACK_ZONE
  - CLOUDSTACK_DOMAIN
  - CLOUDSTACK_ACCOUNT
  - CLOUDSTACK_PROJECT

help to DRY on every task, args still have precedence.
2016-10-30 12:24:03 +01:00
amalts
7b02a5a724 docsite: Fix typo (#18250) 2016-10-30 10:26:21 +01:00
Allyson Bowles
176faae342 Move source install to the bottom of the document 2016-10-29 22:27:15 -05:00
Allyson Bowles
1726ff10d8 Add Debian-specific installation method 2016-10-29 22:24:43 -05:00
Jason McKerr
90b180c815 Update ROADMAP_2_2.rst 2016-10-29 09:36:34 -04:00
David Wittman
d276947a58 Fix typo in Developing Modules doc
Fix pluralization of `ANSIBLE_KEEP_REMOTE_FILES` environment
variable.
2016-10-28 23:58:17 -05:00
Chris Houseknecht
dceb2a0393 Remove extra display statements and add docs (#18229)
* Add docs for ansible-galaxy import --role-name option.

* Add docs for ansible-galaxy init --container-enabled option.
2016-10-28 00:38:39 -04:00
scottb
66d4bb840d Merge pull request #18116 from bcoca/dev_plug_up
updated developing plugins guide
2016-10-27 13:54:06 -07:00
scottb
ba78f02dc5 Update developing_plugins.rst
Editorial pass.
2016-10-27 13:10:13 -07:00
scottb
f38f43df61 Update developing_plugins.rst 2016-10-27 12:57:20 -07:00
scottb
5f14e50c5c Merge pull request #18137 from jglf/jglf-docfix
Small typos, grammar and wording fixes
2016-10-27 12:54:02 -07:00
sevenfourk
fd390cb7b1 Fix typo with 'when when' 2016-10-27 14:11:06 -04:00
Guillaume Mella
1f176475b4 apply comment feedback and leave only typo fix 2016-10-27 09:39:46 +02:00
scottb
c47d580743 Merge pull request #11075 from initcron/devel
corrected the playbook name from rolling_upgrade.yml to rolling_updat…
2016-10-26 17:37:42 -07:00
scottb
4c9ded9cb7 Merge pull request #18156 from bwlz/docs_environment_examples
Add examples for rbenv and nvm
2016-10-26 13:52:22 -07:00
scottb
d59034ca68 Merge pull request #16201 from jlec/patch-1
Unify space around "="
2016-10-25 18:10:24 -07:00
Scott Butler
edda7a34dd Referenced python 3 support for $18041 2016-10-25 15:27:40 -07:00
Scott Butler
3faf9cce40 Addresses #18041 2016-10-25 15:12:52 -07:00
Toshio Kuratomi
15ed88547f Update roadmap with python3 status and python-3.5 req 2016-10-25 08:24:28 -07:00
Eric Anderson
dd8079776d url for comparisons for more supported examples 2016-10-24 20:27:54 -04:00
Peter Oliver
901d41b840 Template set comparisons are new in version 2.1. 2016-10-24 16:22:28 -04:00
Steve Steiner
931939e2f8 Improve readability, give more info about context 2016-10-24 15:39:40 -04:00
Chris Houseknecht
f4e5f5f2ff Refresh the Galaxy docs (#18101) 2016-10-24 10:59:44 -04:00
Allyson Bowles
b90efeb49c Add examples for rbenv and nvm 2016-10-23 21:39:05 -05:00
Scott Butler
843de98bad Fixed a typo. 2016-10-21 23:57:33 -07:00
Scott Butler
e6397a5943 Wording tweaks 2016-10-21 17:59:05 -07:00
Scott Butler
b6761abafb Edits for PR #18098 2016-10-21 15:20:59 -07:00
Kim
bd4d5112c5 Corrected three small typos in playbooks_loops.rst (#18136) 2016-10-21 09:58:09 -04:00
Julien Le Foll
2db4c22a07 Fixed typo and wording 2016-10-21 14:35:59 +02:00
Julien Le Foll
506ea7625c Fixed grammar 2016-10-21 14:30:11 +02:00
Guillaume Mella
801d6b35da fix hosts.yml filename for inventory
trying to help user understand that directory can be used as -i argument values.
2016-10-21 11:17:09 +02:00
Brian Coca
6bde3f1174 updated devleoping plugins guide 2016-10-19 23:33:57 -04:00
scottb
a85b8888d7 Merge pull request #18096 from dharmabumstead/fix-18092
Fix for #18092; plugin dev docs tweaks
2016-10-19 16:05:33 -07:00
Scott Butler
844a7c8823 Fix for #18092 2016-10-19 15:28:10 -07:00
Matt Davis
29d545a8bc Clarify pywinrm behavior WRT Python versions affected by SSLContext
fixes #16765
2016-10-19 14:26:44 -07:00
Toshio Kuratomi
cfca71ee0c Update the ansible_managed documentation.
* New default (a static string)
* Explanation of all the fields and how they impact idempotence

Fixes #17947
2016-10-18 22:20:03 -07:00
Scott Butler
427ce69645 Continued refurb of dev content 2016-10-18 18:59:47 -07:00
Alex
40cb621f0e Fix styling (#18081) 2016-10-18 14:19:47 +02:00
Will Thames
c661f9f561 Module examples should be in YAML format
Given that Ansible best practices say to use YAML format, our
documentation should not make the excuse that it's too hard,
but rather represent examples in YAML format.

This will allow those using the examples to instantly see
best practices
2016-10-15 16:51:54 -07:00
Bill Nottingham
77e7ae6838 Change <support@ansible.com> - it's being retired. 2016-10-15 16:42:13 -07:00
Toshio Kuratomi
d4f4abfb49 Fix python3 developer docs to build.
A couple small refactors to clarify meaning.
2016-10-14 15:57:57 -07:00
Scott Butler
578170a908 Edits for docs PR #18032 2016-10-14 14:30:00 -07:00
scottb
84021a98b8 Merge pull request #18032 from abadger/python3-porting-update
Update dev_guide with Python3 porting advice.
2016-10-14 13:59:58 -07:00
Toshio Kuratomi
b8765d3d22 Update dev_guide with Python3 porting advice.
Also update the date that Python2.4 support will be dropped to say
Ansible-2.4 will no longer have python-2.4 support.
2016-10-14 12:18:04 -07:00
Bryan Parry
8db725100b Clarify description of fork 2016-10-12 20:49:34 -05:00
Sam Doran
8213fd3962 Change ie to i.e. and add a bit more clarity 2016-10-12 14:03:42 -04:00
Colin Walters
ec06278204 docs: Tweak sentence for interaction of loops + register
The previous version had an extra `during a loop` and the comma broke
the sentence in the middle weirdly.  I think this new version reads
better.
2016-10-11 14:56:42 -04:00
Scott Butler
de58f673ef Reinstating mysteriously truncated hubspot analytics. 2016-10-10 13:10:55 -07:00
Brian Coca
03765ba65e Revert "cloudstack: docs: use local_action, not connection=local" (#17956) 2016-10-10 01:15:02 -04:00
Strahinja Kustudić
6dd07de10b Adds an alternative layout of inventories best practices 2016-10-10 00:57:57 -04:00
René Moser
f50c0a78b2 cloudstack: docs: use local_action, not connection=local (#17951) 2016-10-09 11:49:44 +02:00
Brian Coca
7b2f15453d make explicit the scope of config's gather_subset
it only affects the invocation of setup triggered by the gather_facts directive in plays (explicit or implicit)
2016-10-07 20:13:53 -04:00
Brian Coca
1e8d0110ef removed non-feature -include in requirements.txt
fixes #17917
2016-10-07 20:13:53 -04:00
Pavlo Shchelokovskyy
aa1ec8af17 Make interprocess polling interval configurable (#16560)
As recently there was back-and-forth with this hardcoded value
(0.001 -> 0.01 -> 0.005), obviousely the optimal value for it depends on
Ansible usage scanario and is better to be configurable.

This patch adds a new config option in DEFAULT section,
`internal_poll_interval`, with default of 0.001 corresponding to the
value hardcoded in Ansible v2.1.
This config option is then used instead of hardcoded values where
needed.

Related GH issue: 14219
2016-10-06 14:30:20 -05:00
Toshio Kuratomi
1efe782b46 Refactor parsing of CLI args so that we can modify them in the base class
Implement tag and skip_tag handling in the CLI() class.  Change tag and
skip_tag command line options to be accepted multiple times on the CLI
and add them together rather than overwrite.

* Make it configurable whether to merge or overwrite multiple --tags arguments
* Make the base CLI class an abstractbaseclass so we can implement
  functionality in parse() but still make subclasses implement it.
* Deprecate the overwrite feature of --tags with a message that the
  default will change in 2.4 and go away in 2.5.

* Add documentation for merge_multiple_cli_flags
* Fix galaxy search so its tags argument does not conflict with generic tags
* Unit tests and more integration tests for tags
2016-10-06 10:46:58 -04:00
Matt Davis
0afc327532 Revert "Fix/windows documentation" (#17916) 2016-10-05 16:37:51 -07:00
Jordan Borean
e357ec68f7 Fix/windows documentation (#17851)
* Updated Windows documentation for more clarity on particular features like NTLM auth.
2016-10-05 18:46:12 -04:00
Andrea Tartaglia
60d0e681dd ssh_executable docs (#17868)
* ssh_executable docs

Added docs about ssh_executable in intro_configuration and
intro_inventory under behavioral inventory params

* Added full stops + \n in intro_configuration
2016-10-05 18:18:39 -04:00
Scott Butler
02b08b1b0c Added new nav breadcrumbs 2016-10-05 11:12:08 -07:00
Pablo SEMINARIO
b233f3ed3c Fix minor typo on testing paths example 2016-10-05 10:02:02 -04:00
Brian Coca
828dcd0f40 updated devel to 2.3 (#17884)
* updated devel to 2.3

* got missing 2.2/2.3 conversions
2016-10-03 15:08:19 -04:00
Indrajit Raychaudhuri
becb4765c3 Add homebrew in squash_actions list (#16966)
`homebrew`, like other package modules in the existing `squash_actions` list can
benefit from `with_items` loops optimization.
2016-09-30 18:07:09 -04:00
scottb
d88025f0cb Merge pull request #17833 from resmo/docs/fix_loops
docsite: various fixes in loops doc
2016-09-30 11:26:46 -07:00
Matt Davis
b427818f02 remove Windows async doc exclusion 2016-09-30 10:22:39 -07:00
Rene Moser
26bc8ab47a docsite: various fixes in loops doc
- "new in version ..." did not always show up
- indentation in examples
- minor style cleanup (whitespace)
2016-09-30 16:01:56 +02:00
scottb
c157c47802 Merge pull request #17556 from gahan-corporation/devel
Updated grammar starting on line 166.
2016-09-29 23:05:49 -07:00
scottb
db06a44b7c Merge pull request #14691 from udesilva/patch-1
Update Lookups documentation regarding a possible pitfall with password plugin
2016-09-29 23:03:18 -07:00
scottb
603f8ce91e Merge pull request #17809 from pkyeck/devel
Fix length of quickstart video mentioned in docs
2016-09-29 22:47:18 -07:00
Jason McKerr
11ae3793d5 Update ROADMAP_2_2.rst 2016-09-29 10:05:59 -04:00
Jason McKerr
036942680f Update ROADMAP_2_2.rst 2016-09-29 09:51:04 -04:00
Philipp Kyeck
d75fa2e3be Fix length of quickstart video mentioned in docs 2016-09-29 14:56:27 +02:00
Scott Butler
66f8fcea92 Fixes issue #17759 2016-09-28 15:49:17 -07:00
fajpunk
a64266e7f5 Document copy module vault decryption behavior (#17777) 2016-09-28 16:23:52 -04:00
Scott Butler
c917198415 Fixes issue #17795 2016-09-28 13:08:15 -07:00
Toshio Kuratomi
fb0ec5895a Use the play term instead of playbook.
An ansible playbook is a list of plays.  environment: applies per-play,
not per-playbook.
2016-09-28 08:23:42 -07:00
Brian Coca
86ea21a73d ansible_play_batch (#17779)
* ansible_play_batch

* added version added
2016-09-28 10:32:19 -04:00
Scott Butler
1c7890bf86 Fixed dev info landing page link 2016-09-25 14:15:09 -07:00
scottb
f46de631af Dev guide reorg continues (#17732) 2016-09-23 16:48:37 -04:00
Scott Butler
eeb4e258f8 Minor editing of PR#17730 2016-09-23 11:46:18 -07:00
scottb
c54b7dc939 Merge pull request #17730 from davidak/hash
add hint to use hash filters for password in FAQ
2016-09-23 11:39:38 -07:00
Daniel Farrell
f0e9bc160d Remove deprecated roll path arg from docs #13563 (#17689)
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
2016-09-23 14:13:56 -04:00
Brian Coca
45b961243b added note about loops being lookups 2016-09-23 13:04:43 -04:00
David Kleuker
4b58ff7eb5 add hint to use hash filters for password in faq 2016-09-23 19:04:09 +02:00