summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Reworking iterator logic regarding failed states during alwaysissue_17983_play_iterator_bugJames Cammarata2016-11-163-21/+34
| | | | | | | | | | | | | | | | Previous changes addressed a corner case, which unfortunately introduced another bug. This patch adds a new flag to the host state (did_rescue) which is set to true when the rescue portion of a block completes. This flag is then checked in _check_failed_state() when the fail_state != FAILED_NONE. This lead to the discovery of another bug - current strategies are not advancing hosts to ITERATING_COMPLETE after doing a peek at the next task, leaving the host state in the run_state of the final task. To address this, before gathering the list of failed hosts in StrategyBase.run(), a final pass through the iterator for all hosts is done to ensure each host is in its final state. This way, no strategy derived from StrategyBase has to worry about it and it's handled. Fixes #17983
* docsite/rst/playbooks_tags.rst: Added section on tag reuse (#17729)William L. Thomson Jr2016-11-151-0/+25
| | | | | | | | * docsite/rst/playbooks_tags.rst: Added section on tag reuse * Update playbooks_tags.rst Minor grammatical clarification.
* updated changelog with configurable strategyBrian Coca2016-11-151-0/+1
|
* make default strategy configurable (#18394)Gael Pasgrimaud2016-11-154-1/+17
|
* always template when called from template (#18490)Brian Coca2016-11-152-3/+6
| | | | | | | | | | * Have template action plugin call do_template Avoids all the magic done for 'inline templating' for ansible plays. renamed _do_template to do_template in templar to make externally accessible. fixes #18192 * added backwards compat as per feedback
* Add `name` field for BlocksJames Cammarata2016-11-152-5/+10
| | | | Fixes #18420
* Catch loop eval errors and only raise them again if the task is not skippedJames Cammarata2016-11-151-1/+13
| | | | This should help on issues like #16222.
* Update submodule refs.Matt Clay2016-11-142-36/+18
|
* Add a tool to work with module metadata (#18488)Toshio Kuratomi2016-11-141-0/+510
| | | | | | * Add a tool to work with module metadata * Don't hardcode async_wrapper
* removed package from squash in examplesBrian Coca2016-11-141-1/+1
|
* removed package from squash actionsBrian Coca2016-11-142-1/+3
| | | | fixes https://github.com/ansible/ansible-modules-core/issues/5595
* Add option to prepend inherited attributes when extending valuesJames Cammarata2016-11-144-11/+16
| | | | Fixes #18483
* added alias to argumetns 'args' to blacklist (#18485)Brian Coca2016-11-141-1/+1
|\ | | | | this should fix https://github.com/ansible/ansible-modules-core/issues/5584
| * added alias to argumetns 'args' to blacklistBrian Coca2016-11-141-1/+1
| | | | | | | | this should fix https://github.com/ansible/ansible-modules-core/issues/5584
* | Include missing _text.to_text importAdrian Likins2016-11-141-1/+1
|/ | | | | | | Fixes "global name 'to_text' is not defined" error on openbsd clients. Fixes #18473
* cloudstack: extend support for VPC (#18434)René Moser2016-11-141-14/+19
|
* Increment changed stat for a failed task if changed. (#18014)Chris Church2016-11-141-0/+2
|
* Alternately track listening handlers by uuid if no name is setJames Cammarata2016-11-135-19/+85
| | | | Fixes #17846
* Lint YAML files under test/Adrien Vergé2016-11-112-11/+9
| | | | | | | | | | | | | | | | | | | | | This commit extends YAML linting by enabling standard rules from the `yamllint` tool [1]. Since syntax errors and key duplicates are already checked since 4d48711, this change only adds detection for cosmetic problems. It also narrows checks to the test/ dir only. The main goal is to prevent future problems to enter the code base without being noticed. While it would be a huge effort to be PEP8 compliant, it is relatively easy to have correct YAML style *now* and prevent future errors by enabling linting. Note: for those (like me) caring about code attribution: use `git blame -w` to ignore whitespace-only changes. Note: I disabled some linting checks (such as indentation), they can be enforced in the future if needed. Similarly, current checks can also be disabled. See the `.yamllint` file. [1]: https://yamllint.readthedocs.io/
* Fix cosmetic problems in YAML sourceAdrien Vergé2016-11-11251-510/+214
| | | | | | | | This change corrects problems reported by the `yamllint` linter. Since key duplication problems were removed in 4d48711, this commit mainly fixes trailing spaces and extra empty lines at beginning/end of files.
* Improved Get-PendingRebootStatusTrond Hindenes2016-11-111-1/+2
|
* Update docker-setup-rht.ymlJohn R Barker2016-11-111-1/+0
|
* bump submodule refsMatt Davis2016-11-112-10/+36
|
* Fixing incorrect use of version_compare in docker integration testJames Cammarata2016-11-111-2/+2
|
* [GCE] updates to gce integration test (#18097)Tom Melendez2016-11-111-2/+43
| | | | | * Added test for sequenced-name instance generation (num_instances) * Added param-check tags to tests that only do argument checking Should be merged AFTER ansible/ansible-modules-core#4276
* removed core import templateBrian Coca2016-11-111-3/+0
|
* ROADMAP updates (#18435)John R Barker2016-11-111-26/+22
| | | | | | | | * ROADMAP updates * Formatting - Especially the first section * Reno Release notes is out of scope (I believe?) * Change "Speed up make webdocs to stretched Goal - As I don't believe we currently know *how* we can achieve this * Removed the word `Hardening` as it implies security, which isn't something we are actively working on in 2.3
* Don't copy the parent block of TaskIncludes when loading staticallyJames Cammarata2016-11-117-36/+27
| | | | | | | | | | | | | | When loading an include statically, we previously were simply doing a copy() of the TaskInclude object, which recurses up the parents creating a new lineage of objects. This caused problems when used inside load_list_of_blocks as the new parent Block of the new TaskInclude was not actually in the list of blocks being operated on. In most circumstances, this did not cause a problem as the new parent block was a proper copy, however when used in combination with PlaybookInclude (which copies conditionals to the list of blocks loaded) this untracked parent was not being properly updated, leading to tasks being run improperly. Fixes #18206
* Update ansible.1.asciidoc.in (#18464)Samuel Boucher2016-11-111-1/+1
| | | | | | | | | * Update ansible.1.asciidoc.in fix typo to match ansible --help --su-user and not --se-user * Update ansible.1.asciidoc.in
* cloudstack: add additional CLOUDSTACK_VPC env var (#18467)René Moser2016-11-112-1/+3
|
* Remove unnecessary file.Matt Clay2016-11-111-1/+0
|
* Move ansible ad-hoc tests to integration targets.Matt Clay2016-11-103-6/+17
|
* added sysv functionsBrian Coca2016-11-101-1/+21
|
* Fix unit test dirs to match code under test.Matt Clay2016-11-109-0/+0
|
* Add a check for type() instead of isinstance() (#18439)jctanner2016-11-103-0/+76
|
* Update ROADMAP_2_3.rstJason McKerr2016-11-101-1/+1
|
* Update submodule refs.Matt Clay2016-11-102-10/+11
|
* Merge pull request #18455 from agaffney/bare_variable_docsAbhijit Menon-Sen2016-11-106-13/+13
|\ | | | | Fix bare variable references in docs
| * Fix bare variable references in docsAndrew Gaffney2016-11-106-13/+13
|/
* Network Tests - Extend examples (#18451)John R Barker2016-11-101-0/+27
|
* Merge pull request #12712 from ananyacleetus/patch-1scottb2016-11-101-1/+2
|\ | | | | Update DOCUMENTATION.yml
| * Update DOCUMENTATION.ymlAnanya W Cleetus2015-10-121-1/+2
| |
* | Merge pull request #17988 from samdoran/docs-fixscottb2016-11-101-1/+1
|\ \ | | | | | | Change ie to i.e. and add a bit more clarity
| * | Update playbooks_roles.rstscottb2016-11-101-1/+1
| | | | | | | | | Minor edit.
| * | Change ie to i.e. and add a bit more claritySam Doran2016-10-121-1/+1
| | |
* | | Merge pull request #15673 from wenottingham/patch-11scottb2016-11-101-1/+3
|\ \ \ | | | | | | | | Update faq.rst
| * | | Update faq.rstBill Nottingham2016-04-291-1/+3
| | | | | | | | | | | | Note that ANSIBLE_DEBUG can show sensitive information.
* | | | Merge pull request #18134 from gmella/develscottb2016-11-101-3/+3
|\ \ \ \ | | | | | | | | | | fix hosts.yml filename for inventory
| * | | | apply comment feedback and leave only typo fixGuillaume Mella2016-10-271-2/+2
| | | | |
| * | | | fix hosts.yml filename for inventoryGuillaume Mella2016-10-211-4/+4
| | | | | | | | | | | | | | | trying to help user understand that directory can be used as -i argument values.