Commit Graph

20789 Commits (c534f8f9fc143f0ccea8e6afdcdd85028209f9dd)
 

Author SHA1 Message Date
Peter Sprygada c534f8f9fc fixes conditional processing with junos and xml data structures (#17801)
The conditional processing was failing due for two reasons:

1) The xml to json conversion string was not happening before the runner
   was processing the results
2) The Conditional instance was not parsing conditionals encoded with []

This fix address both issues.
8 years ago
cinerama70 fb50698da3 Graceful error handling when delegate_to host null (#17453) (#17783)
Currently, if the host specified in delegate_to for a task is null,
Ansible will crash with a stack trace. Add a check for this state
and handle the error appropriately.
8 years ago
Scott Butler 66f8fcea92 Fixes issue #17759 8 years ago
Brian Coca 3c42651fc7 fixed typo 8 years ago
Gilles Gagniard da5b0c39c9 fixes #16865 : we should properly determine connection type for delegated task first, before overriding remote user for local connections (#17723) 8 years ago
fajpunk a64266e7f5 Document `copy` module vault decryption behavior (#17777) 8 years ago
Scott Butler c917198415 Fixes issue #17795 8 years ago
Peter Sprygada 9854644431 adds overwrite kwarg to load_config in junos (#17798)
The junos load_config() method supports operations of overwrite, replace
and merge.  This adds the missing overwrite keyword arg to load_config()
so that action in junos_template can be procesed correctly.
8 years ago
Toshio Kuratomi 4452ee86bd Turn mount test back on (#17797)
* Turn mount test back on

* Mount tests need PRIVILEGED so turn that back on

Revert "Revert "Set PRIVILEGED=true for non_destructive tests. (#17733)" (#17738)"

This reverts commit dc0fb1c212.

* Add a needs_privileged tag so that we can skip mount tests on centos6

Some containers timeout on shippable tests when run with privileged.
Unfortunately, some tests require that in order to run.  Tagging those
allows us to skip those tests on the platforms that timeout when we get
ready to run the integration test in shippable.

* Centos6 times out with PRIVILEGED set so remove that (will disable the mount tests on centos6)

* Remove false start
8 years ago
Toshio Kuratomi 17c0f52c96 Update submodules refs 8 years ago
Toshio Kuratomi efa78b4ff4 The mode that we fake from stat is checked more closely under python3.5 on El Capitan (#17794)
Python2 seems to allow any integer.  Python3.5 on Linux seems to allow
a 32 bit unsigned int.  Python3.5 on El Capitan seems to limit it to
a smaller size...  perhaps a 16 bit int.
8 years ago
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.
8 years ago
Brian Coca 368497fd14 better handling of host lists (#17781)
* better handling of host lists

fixes #17762

* corrected message

* fixed extras space
8 years ago
Brian Coca 86ea21a73d ansible_play_batch (#17779)
* ansible_play_batch

* added version added
8 years ago
John R Barker 8cdf002f2a Notice of Networking *_template deprecations (#17668)
* Notice of Networking *_facts deprecations

* Just use the term "Deprecations"

* Update CHANGELOG.md

* Improve layout
8 years ago
Matt Clay a265d2d77d Run test_template tests on OS X. (#17791) 8 years ago
Matt Clay 0dc3db9e75 Enable unarchive tests for OS X and FreeBSD. (#17789) 8 years ago
Adrian Likins bba0fb3a42 Add mnt pnts with single quote to test (16855) (#17771)
This adds some test data to test_facts.py that
includes mnt points that have a single quote in
the path.

Ala, https://github.com/ansible/ansible/issues/16855

The bug was already fixed via other changes, but this is
for regression testing.
8 years ago
Peter Sprygada 605152e61b raises ValueError exception if conditional is not parsable (#17788)
The Conditional class now raises a ValueError with message if it cannot
correclty parse the passed in conditional.  This makes it easier to
detect issues in modules that specify conditionals.
8 years ago
Matt Clay 6d78397b8b Update get_url test to use httptester. (#17787) 8 years ago
Matt Clay 670536f685 Revert "Clear the plugin path cache when adding new directories" (#17785)
This reverts commit 5a57313dd7.
8 years ago
James Cammarata 5a57313dd7 Clear the plugin path cache when adding new directories 8 years ago
Matt Clay dce94ec3c6 Update submodule refs. 8 years ago
Matt Davis e7819609ce swallow errors during async polling (#17760)
also use connection reset on exceptions if available (eg, prevent reuse of "stuck" WinRM connections due to reboot/NIC bounce/etc)
8 years ago
Brian Coca cf7822e201 remove bare vars and undefined from lookup lists (#17647)
https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated
8 years ago
Brian Coca 3550f73837 removed deprecated first available file from tasks (#17643)
https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated
8 years ago
Brian Coca 1b0b6b4c10 removed deprecated 'bare' templating environment (#17640)
https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated
8 years ago
Brian Coca 943f4ebccf undefined var should fail 'label' setting (#17675) 8 years ago
Brian Coca f63b8878fd fix delegate_facts (#17736)
code was misplaced when we changed result processing
also cleaned up import and clarified item/label
fixes #17582
8 years ago
Toshio Kuratomi a4fed650e2 Update submodule refs 8 years ago
Toshio Kuratomi eb33ed4219 Update submodule refs (especially to pick up the mount fixes) 8 years ago
Peter Sprygada 9694d60af5 fixes issue where arguments for regexp search() where transposed (#17764)
The arguments for the regex search() function were transposed in the
netcli match() method that caused conditionals to fail. Switched the
arguments to fixe the bug

fixes #17749
8 years ago
cinerama70 db276373e5 gen_distribution_version_testcase.py should fail if ansible run fails (#17693)
Currently, "ansible localhost -m setup" can fail silently during the
run of gen_distribution_version_testcase.py, resulting in incorrect
output. Use check_output() rather than communicate() and handle
the exception if we get a nonzero return value.
8 years ago
Michael Scherer 362b682f1c Add a umask argument to run_command
In order to avoid problem due to race conditions, it is
required to run umask when generating some sensitive files,
such as a TLS key.
8 years ago
Brian Coca 38b975800d removed unused code, added comment explaining
files is really a placeholder for common code for separate service modules, was copy of current service module and this seemed to confuse people so this update should clear that up
8 years ago
Scott Butler 1c7890bf86 Fixed dev info landing page link 8 years ago
Senthil Kumar Ganesan 9d5dff5596 Update OS6 sublevels (#17735) 8 years ago
Matt Clay dc0fb1c212 Revert "Set PRIVILEGED=true for non_destructive tests. (#17733)" (#17738)
This reverts commit 1384270ccd.
8 years ago
Matt Clay d05df5fc61 Disable expect continue in ansible-core-ci. (#17737)
This will allow use of larger SSH keys.
8 years ago
Toshio Kuratomi 1f311f0739 Disable mount tests for now. Mount is buggy on too many platforms 8 years ago
Toshio Kuratomi bcebfab8e3 Update submodule refs 8 years ago
Matt Clay 2e0bec293c Improve error handling for ansible-core-ci. (#17734) 8 years ago
Matt Clay 1384270ccd Set PRIVILEGED=true for non_destructive tests. (#17733)
This should allow test_mount tests to run on Shippable.
8 years ago
scottb f46de631af Dev guide reorg continues (#17732) 8 years ago
peter.jang 0d94d39689 fix for rsync protocol support (#16756) 8 years ago
Toshio Kuratomi 0f4c56a697 Update submodule refs to pick up mount fixes 8 years ago
Toshio Kuratomi 0bf92d2b5c Add tests for the mount module (#17718)
* Add tests for the mount module

* Switch from unmounted to absent...

the code for mounting always modifies fstab so we need to always modify
fstab to cleanup as well.

* Fix comments and copyright
8 years ago
Scott Butler eeb4e258f8 Minor editing of PR#17730 8 years ago
scottb c54b7dc939 Merge pull request #17730 from davidak/hash
add hint to use hash filters for password in FAQ
8 years ago
Daniel Farrell f0e9bc160d Remove deprecated roll path arg from docs #13563 (#17689)
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
8 years ago