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
368497fd14
better handling of host lists ( #17781 )
...
* better handling of host lists
fixes #17762
* corrected message
* fixed extras space
2016-09-28 11:21:07 -04:00
Brian Coca
86ea21a73d
ansible_play_batch ( #17779 )
...
* ansible_play_batch
* added version added
2016-09-28 10:32:19 -04:00
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
2016-09-28 12:57:01 +01:00
Matt Clay
a265d2d77d
Run test_template tests on OS X. ( #17791 )
2016-09-27 23:30:58 -07:00
Matt Clay
0dc3db9e75
Enable unarchive tests for OS X and FreeBSD. ( #17789 )
2016-09-27 21:37:24 -07:00
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.
2016-09-27 20:21:25 -07:00
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.
2016-09-27 21:12:08 -04:00
Matt Clay
6d78397b8b
Update get_url test to use httptester. ( #17787 )
2016-09-27 18:11:09 -07:00
Matt Clay
670536f685
Revert "Clear the plugin path cache when adding new directories" ( #17785 )
...
This reverts commit 5a57313dd7
.
2016-09-27 16:17:35 -07:00
James Cammarata
5a57313dd7
Clear the plugin path cache when adding new directories
2016-09-27 14:48:35 -05:00
Matt Clay
dce94ec3c6
Update submodule refs.
2016-09-27 11:02:03 -07:00
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)
2016-09-27 10:31:40 -07:00
Brian Coca
cf7822e201
remove bare vars and undefined from lookup lists ( #17647 )
...
https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated
2016-09-27 12:32:04 -04:00
Brian Coca
3550f73837
removed deprecated first available file from tasks ( #17643 )
...
https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated
2016-09-27 12:31:46 -04:00
Brian Coca
1b0b6b4c10
removed deprecated 'bare' templating environment ( #17640 )
...
https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated
2016-09-27 12:31:14 -04:00
Brian Coca
943f4ebccf
undefined var should fail 'label' setting ( #17675 )
2016-09-27 12:24:16 -04:00
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
2016-09-27 11:51:16 -04:00
Toshio Kuratomi
a4fed650e2
Update submodule refs
2016-09-27 08:35:44 -07:00
Toshio Kuratomi
eb33ed4219
Update submodule refs (especially to pick up the mount fixes)
2016-09-26 23:52:30 -07:00
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
2016-09-26 19:29:57 -04:00
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.
2016-09-26 15:35:36 -07:00
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.
2016-09-26 11:16:22 -04:00
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
2016-09-26 10:27:56 -04:00
Scott Butler
1c7890bf86
Fixed dev info landing page link
2016-09-25 14:15:09 -07:00
Senthil Kumar Ganesan
9d5dff5596
Update OS6 sublevels ( #17735 )
2016-09-24 09:27:38 -04:00
Matt Clay
dc0fb1c212
Revert "Set PRIVILEGED=true for non_destructive tests. ( #17733 )" ( #17738 )
...
This reverts commit 1384270ccd
.
2016-09-23 23:42:59 -07:00
Matt Clay
d05df5fc61
Disable expect continue in ansible-core-ci. ( #17737 )
...
This will allow use of larger SSH keys.
2016-09-23 22:09:46 -07:00
Toshio Kuratomi
1f311f0739
Disable mount tests for now. Mount is buggy on too many platforms
2016-09-23 16:35:34 -07:00
Toshio Kuratomi
bcebfab8e3
Update submodule refs
2016-09-23 14:51:14 -07:00
Matt Clay
2e0bec293c
Improve error handling for ansible-core-ci. ( #17734 )
2016-09-23 14:42:47 -07:00
Matt Clay
1384270ccd
Set PRIVILEGED=true for non_destructive tests. ( #17733 )
...
This should allow test_mount tests to run on Shippable.
2016-09-23 14:09:46 -07:00
scottb
f46de631af
Dev guide reorg continues ( #17732 )
2016-09-23 16:48:37 -04:00
peter.jang
0d94d39689
fix for rsync protocol support ( #16756 )
2016-09-23 16:12:07 -04:00
Toshio Kuratomi
0f4c56a697
Update submodule refs to pick up mount fixes
2016-09-23 12:40:48 -07:00
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
2016-09-23 12:38:31 -07: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
Peter Sprygada
aa1e3ef2b5
fixes issue introduced with raw kwarg ( #17728 )
...
The raw kwarg was added to return raw output from devices with if the
attempt to convert to json failed. The change was causing all json
output to be returned raw. This fixes that issue.
2016-09-23 12:09:55 -04:00
Brian Coca
530b2d7a15
added ansible_play_hosts to changelog
2016-09-23 11:26:01 -04:00
Brian Coca
89f1cd6a8f
clarified play_hosts/ansible_play_hosts docs
2016-09-23 11:23:25 -04:00
j0hnsmith
4650d8910e
Feature/add ansible play hosts all ( #17498 )
...
* refactor ignore_limits_and_restrictions
into ignore_limits and ignore_limitations
* add ansible_play_hosts_all
* update docs re ansible_play_hosts_all
* only use play.hosts when is has a value
* replace ansible_play_hosts with ansible_play_hosts_all
* remove unnecessary var
2016-09-23 11:17:46 -04:00
Brian Coca
52bf021904
clarified omit
intended usage
...
fixes #13986
2016-09-23 10:19:36 -04:00
Matt Clay
cf4d436e07
Remove run_tests.sh and update docs. ( #17719 )
...
Removed the obsolete test/utils/run_tests.sh script in favor of
using the newer test/utils/shippable/integration.sh instead.
2016-09-22 23:51:53 -07:00
Matt Clay
50b0d011fe
Update integration.sh to copy source by default. ( #17717 )
...
Also add more documentation to the script.
2016-09-22 22:28:55 -07:00
nitzmahone
f82c693181
bump extras submodule ref
2016-09-22 20:07:20 -07:00
Peter Sprygada
361f3999ea
fixes issue where junos shared module was ignoring ssh_keyfile ( #17712 )
...
This fixes a problem with the Netconf transport in which the ssh keyfile
wasn't being used if it was defined. The ref issue is filed against 2.1.1
but have been unable to replicate the problem in that version
ref: ansible/ansible-modules-core#4966
2016-09-22 19:52:42 -04:00