Commit graph

3871 commits

Author SHA1 Message Date
Toshio Kuratomi
773a3becf5 Update submodule refs for apt_repository fix 2015-07-31 07:35:12 -07:00
Toshio Kuratomi
6c21f3c0fd iUpdate submodules 2015-07-30 18:10:24 -07:00
Brian Coca
f893d2e0e6 Merge pull request #11522 from DazWorrall/patch-2
Add complex_args to logging callback data
2015-07-28 12:36:24 -04:00
Brian Coca
1026e06e31 applied fix from #11034 by @ubergeek42 2015-07-25 11:38:08 -04:00
Toshio Kuratomi
2afb7f717d Guard the PROTOCOL setting so that we work on older pythons 2015-07-24 15:08:38 -07:00
Toshio Kuratomi
f074c6ad35 Update extras submodule ref 2015-07-23 07:33:39 -07:00
James Cammarata
6c3e8f214a Port of d412bc7 to stable-1.9 2015-07-22 16:19:18 -04:00
Toshio Kuratomi
742c6a1ffb Update module pointers to get the latest in the certificate fixes 2015-07-22 07:22:17 -07:00
Toshio Kuratomi
604fbbb4a5 Pull in ec2_ami_search ssl fix 2015-07-21 13:51:17 -07:00
Toshio Kuratomi
01d2663687 update submodule refs for stable branch 2015-07-21 12:49:34 -07:00
Toshio Kuratomi
122c53ba38 Detect the old python-json library
Fixes #11654
2015-07-20 12:38:57 -07:00
Toshio Kuratomi
990350a0fd Have openssl autonegotiate tls protocol on python < 2.7.9
This allows usage of tls-1.1 and tls-1.2 if the underlying openssl
library supports it.  Unfortunately it also allows sslv2 and sslv3 if
the server is only configured to support those.  In this day and age,
that's probably something that the server administrator should fix
anyhow.
2015-07-20 09:47:04 -07:00
Toshio Kuratomi
a4691991ad Add support for SNI and TLS-1.1 and TLS-1.2 to the fetch_url() helper
Fixes #1716
Fixes #1695

Conflicts:
	test/integration/roles/test_uri/tasks/main.yml
2015-07-20 09:40:30 -07:00
Brian Coca
731dbeb712 capture error when smoeone puts a list or some other complex type in
delegate_to
2015-07-17 23:02:29 -04:00
Darren Worrall
66b92df568 Add complex_args to logging callback data
Callback plugins don't get given any complex module arguments on task invocation, this fixes that.
2015-07-08 08:06:24 +01:00
Brian Coca
01d9af26e0 pbrun not forced to use local daemon anymore 2015-07-05 15:50:16 -04:00
verm666
15ad02102e facts: add aliases to ansible_all_ipv4_addresses on OpenBSD 2015-07-03 13:58:32 -04:00
Brian Coca
5e78c5c672 updated submodule refs 2015-07-03 13:37:20 -04:00
Brian Coca
e2c4cc70d6 added tests for sequence with a count of 1
now checks for stride being 0 so it does not skip counts of 1 but still skips counts of 0
fixes #11422
2015-07-03 13:34:03 -04:00
James Cammarata
051d04c8d7 Fix bug related to keyczar messing up encodings
Also increases default AES key size to 256 for accelerated keys.
2015-07-02 15:05:28 -04:00
Toshio Kuratomi
62a1efa0c6 Fix traceback in on_unreachable
Fixes #10960
2015-06-29 08:33:45 -07:00
Toshio Kuratomi
bd7e7c59a3 Pull in docs fix so that ansible-doc -l functions 2015-06-29 05:55:52 -07:00
Toshio Kuratomi
db5ea10ed2 Merge pull request #11391 from emonty/backport/openstack
Backport openstack module_utils from devel
2015-06-26 08:34:26 -07:00
Monty Taylor
59cc4ead3d Backport openstack module_utils from devel
There were no modules in 1.9 that used these functions, and there are
people who would like to use devel modules with 1.9 ansible.
2015-06-25 14:28:28 -04:00
Toshio Kuratomi
aeb194d4ff Vendorize match_hostname code so that ansible can push it out to clients along with the code that uses it. 2015-06-25 08:20:15 -07:00
James Cammarata
705ab6c1e2 Version bump for 1.9.2-1 release 2015-06-24 13:35:44 -04:00
Toshio Kuratomi
30ff9270ac Use BUFSIZE when putting file as well as fetching file. 2015-06-24 08:54:06 -07:00
Toshio Kuratomi
784fb8ff8e Fix exec_command to not use a shell 2015-06-24 08:54:00 -07:00
Toshio Kuratomi
480ad7413a Fix fetch_file() method 2015-06-24 08:53:54 -07:00
Toshio Kuratomi
8564dbaf95 Fix problem with chroot connection plugin and symlinks from within the chroot.
Manually apply changes from 952166f48e
because git won't cherry-pick successfully
2015-06-24 08:52:46 -07:00
Toshio Kuratomi
0845151c9c Better error messages when the file to be transferred does not exist. 2015-06-24 08:51:55 -07:00
Toshio Kuratomi
0056f025c3 Bumpt the BUFSIZE to 64k for better performance 2015-06-24 08:51:45 -07:00
Toshio Kuratomi
f0302f2e2d Fix problem with jail and zone connection plugins and symlinks from within the jail/zone. 2015-06-24 08:51:38 -07:00
Toshio Kuratomi
a431098fc5 Fix for symlink problem in jail and zone
Manually pull in changes from ca2f2c4ebd
as git won't cherry-pick those files successfully.
2015-06-24 08:49:19 -07:00
Toshio Kuratomi
24fd4719cc Fix forwarding the user-given params from fetch_url() to open_url() 2015-06-23 15:21:14 -07:00
Toshio Kuratomi
9bf06bfe84 Update the submodule refs for stable-1.9 2015-06-19 09:17:42 -07:00
Kirk Strauser
65fc0161a8 Don't panic if AIX's uname doesn't support -W
The current code expects "uname -W" on AIX to always succeed. The AIX 5
instance I have doesn't support the -W flag and facts gathering always
crashes on it.

This skips some WPAR handling code if "uname -W" doesn't work.
2015-06-16 19:10:28 -04:00
Toshio Kuratomi
73c7e98260 Backport security fixes to etcd and url lookup plugins 2015-06-15 16:13:05 -07:00
Toshio Kuratomi
08c1ddd24e Split the fetch_url() function into fetch_url and open_url().
open_url() is suitable for use outside of a module environment.  Will
let us use open_url to do SSL cert verification in other, non-module
code.
2015-06-15 12:30:15 -07:00
Toshio Kuratomi
4a5a8ed963 Add dnf to the list of module that we squash loop items for 2015-06-11 08:58:12 -07:00
Jon Hawkesworth
0868679f13 Get-FileChecksum allways returns a string now,
and the test_win_copy integration tests that depend on the checksum
have been updated in this change too.
2015-06-10 20:48:15 -04:00
Brian Coca
74afd24387 added test for notify in case it is defined as an empty keyword 2015-06-10 18:52:50 -04:00
Brian Coca
b70caac618 updated submodule refs 2015-06-03 14:38:51 -04:00
Brian Coca
7661f86c05 backported fix of missing import 2015-06-03 14:36:30 -04:00
Brian Coca
35ca1dd073 Merge pull request #11110 from myniva/t/11109-fix-keyerror
Fix KeyError which occurs when not-existing entry is tried to be removed.
2015-06-01 11:34:20 -04:00
Basil Brunner
2945a462f6 Fix KeyError which occurs when not-existing entry is tried to be removed. Fixes #11109 2015-06-01 11:02:54 +02:00
Toshio Kuratomi
2c9337157b Update stable submodule refs 2015-05-29 18:58:41 -07:00
Toshio Kuratomi
867a119425 Update core module ref to pull in yum fix 2015-05-29 13:47:54 -07:00
Toshio Kuratomi
8a4a342996 Oops, accidentally updated the submodule refs to devel instead of the
stable-1.9 branch
2015-05-29 13:27:17 -07:00
Monty Taylor
870afac287 Add defaults and a link to os-client-config docs
Conflicts:
	lib/ansible/utils/module_docs_fragments/openstack.py
2015-05-29 13:22:13 -07:00
Monty Taylor
7a76d4e03b Remove unneeded required_one_of for openstack
We're being too strict - there is a third possibility, which is that a
user will have defined the OS_* environment variables and expect them to
pass through.

Conflicts:
	lib/ansible/module_utils/openstack.py
	lib/ansible/utils/module_docs_fragments/openstack.py
	v2/ansible/module_utils/openstack.py
2015-05-29 13:18:14 -07:00
Toshio Kuratomi
be7c59c7bb Make fetch_url check the server's certificate on https connections 2015-05-28 13:28:05 -07:00
Simon Dick
c0265f80fb Allow the use of HTTP on custom ports in the fetch_url function 2015-05-28 13:27:59 -07:00
Brian Coca
54fb04afc4 made sequence more flexible, can handle descending and negative sequences and is skipped if start==end 2015-05-22 12:48:29 -07:00
Brian Coca
2816b8679b fixed corner case when counting backwards, added test cases for count=0 and backwards counts 2015-05-22 12:14:17 -07:00
James Cammarata
196d9e2893 Version update for release candidate 1.9.2-0.2.rc2 2015-05-22 14:01:16 -05:00
James Cammarata
8fab8aedc0 Submodule update for stable-1.9 2015-05-22 13:30:45 -05:00
James Cammarata
982bad7886 Version bump for release candidate 1.9.2-0.1.rc1 2015-05-15 21:02:17 -05:00
Brian Coca
127a669a23 made special treatment of certain filesystem for selinux configurable 2015-05-15 18:12:06 -04:00
Brian Coca
4eff3d5dc1 now properly inherit data from ansible.cfg for sudo/su ask pass
fixes #10891
2015-05-04 16:57:46 -04:00
Toshio Kuratomi
e79535d42f Update core module ref to pull in docker module fixes for 1.9 2015-05-01 08:00:54 -07:00
James Cammarata
b47d1d7e69 Version bump for release 1.9.1-1 2015-04-27 16:16:27 -05:00
James Cammarata
99af3a8dc1 version update for release candidate 1.9.1-0.4.rc4 2015-04-23 10:31:57 -05:00
Peter Oliver
3a5a6685a0 Consistently use "OracleLinux" in OS detection.
Previously, a mixture of "OracleLinux" and "Oracle Linux" was used,
causing the `ansible_os_family` fact not to be set to `RedHat`.

Fixes #10742.
2015-04-20 18:54:37 -04:00
James Cammarata
9a07855151 Version bump for release candidate 1.9.1-0.3.rc3 2015-04-17 14:47:21 -05:00
James Cammarata
763f44a52b Fix tag handling on meta:flush_handlers tasks
Fixes #10758
2015-04-17 13:01:39 -05:00
Brian Coca
8f4c97fdbe adjusted for the posibolity of lsblk not existing for fact gathering 2015-04-17 11:16:09 -04:00
Chris Church
a7a218349a Add -ExecutionPolicy Unrestricted back, was removed by #9602. 2015-04-16 08:47:45 -04:00
Chris Church
1cbc45700e Only try kerberos auth when username contains @ and pass realm to pywinrm. Alternative to #10644, fixes #10577. 2015-04-16 08:47:45 -04:00
Chris Church
baa6426c57 Remove winrm connection cache (only useful when running against one host). Also fixes #10391. 2015-04-16 08:47:45 -04:00
James Cammarata
e16e2b171c Version bump for 1.9.1-0.2.rc2 release candidate 2015-04-15 10:31:12 -05:00
Brian Coca
ea9db2a0cc bad hack to maybe fix some corner cases with pbrun custom prompts 2015-04-15 11:18:02 -04:00
Brian Coca
2e5bad3385 fixed indent when looking at delegate_to vars 2015-04-14 19:00:15 -04:00
Brian Coca
b1b78a4fd6 fixed another typo 2015-04-13 10:58:36 -04:00
Brian Coca
f8b5e0814c typo fix 2015-04-13 10:49:31 -04:00
Brian Coca
e609670fee fix for when calling bootinfo throws permmission errors (AIX)
fixes https://github.com/ansible/ansible-modules-core/issues/1108
2015-04-13 10:26:08 -04:00
Jesse Rusak
d13646dcc5 Fix --force-handlers, and allow it in plays and ansible.cfg
The --force-handlers command line argument was not correctly running
handlers on hosts which had tasks that later failed. This corrects that,
and also allows you to specify force_handlers in ansible.cfg or in a
play.
2015-04-13 10:20:11 -04:00
Toshio Kuratomi
efa93d4239 Reverse the error messages from jsonfile get and set 2015-04-09 10:41:29 -07:00
Kimmo Koskinen
9bd2e3b752 Use codecs module while reading & writing json cache file 2015-04-09 10:41:23 -07:00
Jason DeTiberus
626b2fc7ef Fix indentation 2015-04-07 23:00:54 -04:00
James Cammarata
b186f7b85e Version bump for 1.9.1-0.1.rc1 2015-04-06 13:38:33 -05:00
Brian Coca
b855456844 updated submodule refs 2015-04-02 16:00:22 -04:00
Brian Coca
277658835a capture IOErrors on backup_local (happens on non posix filesystems)
fixes #10591
2015-04-02 15:58:21 -04:00
Brian Coca
97a4483c7c removed folding sudo/su to become logic from constants as it is already present downstream in playbook/play/tasks 2015-04-02 15:57:26 -04:00
Brian Coca
b965d12f1e now ansible ignores tempate errors on passwords
they could be caused by random character combinations, fixes #10468
2015-04-02 15:53:58 -04:00
Brian Coca
84b8a80aa7 converted error on play var initialization into warning with more information 2015-04-02 15:53:16 -04:00
Brian Coca
1d4b96479f dont break everything when one of the vars in inject does not template correctly, wait till its used 2015-04-02 15:53:16 -04:00
Brian Coca
6ab57081ec readded sudo/su vars to allow role/includes to work with passed sudo/su 2015-03-29 10:17:41 -04:00
Brian Coca
c0afe27e2f updated sumbmodule refs 2015-03-26 18:02:59 -04:00
Toshio Kuratomi
a00056723f Make run_command() work when we get byte str with non-ascii characters (instead of unicode type like we were expecting)
Fix and test.

Fixes #10536
2015-03-26 07:52:05 -07:00
Toshio Kuratomi
d6afb5d80e Fix assert to work with unicode values 2015-03-26 07:52:05 -07:00
James Cammarata
29809bb83d Version bump for 1.9.0.1-1 2015-03-25 18:44:56 -05:00
Brian Coca
a0c7381a37 updated ref to extras 2015-03-25 18:05:09 -04:00
James Cammarata
d76f8deed5 Submodule updates for 1.9 2015-03-25 14:57:16 -05:00
James Cammarata
b268970564 Updating submodule pointers for 1.9 2015-03-25 14:46:54 -05:00
Brian Coca
0a334a160d updated to latest ref 2015-03-24 15:16:09 -04:00
Brian Coca
cf3313be0c makes raw module have quiet ssh so as to avoid extra output when not requried 2015-03-24 15:00:51 -04:00
James Cammarata
5d28d46b16 VERSION bump and submodule update for 1.9.0-0.2.rc2 2015-03-20 14:52:50 -05:00
Toshio Kuratomi
30af3166af Update core modules for asg tag fix 2015-03-20 11:39:12 -07:00
Eri Bastos
22b10a8f6e Patch for bug #10485 - ansible_distribution fact populates as 'RedHat' on Oracle Linux systems 2015-03-20 14:07:24 -04:00