Commit Graph

20938 Commits (e97a00de9ef4c323f664415e6f7b95ff46e176ea)
 

Author SHA1 Message Date
Nijin Ashok e97a00de9e Fix improper handling of machine_type in ovirt inventory (#16251)
Currently the machine_type will not work if the instance type is set in ovirt. In that case, inst.get_instance_type will be an object and will fails while converting to json. This only work if the instance type is not set in ovirt where inst.get_instance_type is a Null value. The current change make sure that correct "instance type" is passed when instance is set in ovirt and Null when it's not set in ovirt.
(cherry picked from commit 1f3d82dd18)
9 years ago
stephane f5240d2953 Set Suse family for openSUSE Tumbleweed & Leap
On openSUSE Tumbleweed, lsb-release -a currently reports
the distributor ID as "openSUSE Tumbleweed". On openSUSE
Leap, the distributor ID is "SUSE LINUX".

Add them to the OS_FAMILY dict as Suse family systems.

Also add an entry to TESTSETS in test_distribution_version.py
for openSUSE Tumbleweed.

(cherry picked from commit 77868a4104)
9 years ago
Matt Robinson 92c851a894 Make bcrypt + passlib work in password_hash filter
If hashtype for the password_hash filter is 'blowfish' and passlib is
available, hashing fails as the hash function for this is named 'bcrypt'
(and not 'blowfish_crypt').  Special case this so that the correct
function is called.

(cherry picked from commit 692bfa872a)
9 years ago
Toshio Kuratomi 84485c29ee Add changelog for apt_key 9 years ago
Toshio Kuratomi 806fc1ac74 submodule ref update to pull in apt and apt_key fixes 9 years ago
Ryan S. Brown b702d3810e Bump core modules submodule ref 9 years ago
Toshio Kuratomi 8c6d749ad9 Update submodule ref for py3 compile test fix 9 years ago
Toshio Kuratomi 8dbc564fc6 Enable the git test on py3
(cherry picked from commit 2ac12432ef)
9 years ago
Toshio Kuratomi e8c97768b7 Update submodule refs for py3 and git fixes 9 years ago
Ssawa 90d3824678 Handle 'smart' scp_if_ssh option for fetch (#18125)
(cherry picked from commit 8e47b9bc70)
9 years ago
Michael Scherer 5bd6a9b76c Enable filters test for python 3
(cherry picked from commit 2804e64ed5)
9 years ago
Toshio Kuratomi a15d3106e9 Now that we convert salt inside of do_encryptas needed, keep salt as text type until then.
(cherry picked from commit 6d9f780937)
9 years ago
Toshio Kuratomi 3ee4effb7a pip tests now pass on python3. Enable them.
(cherry picked from commit 67ac375188)
9 years ago
Toshio Kuratomi 90b06bc8b4 Update submodule refs 9 years ago
Michael Scherer b6e51d670a Enable test for lookups on python 3
Since passlib algo sometime takes a bytes, and sometime
not, depending on a internal variable, we have to convert
bnased on it, or it fail with "TypeError: salt must be bytes,
not str" (or unicode instead of bytes)

However, that's not great to use internal structure for that.

(cherry picked from commit 578da9a615)
9 years ago
Brian Coca dcc6a15ce3 role now fails if specified file not found
fixes https://github.com/ansible/ansible-modules-core/issues/5166

(cherry picked from commit ea428e716d)
9 years ago
Brian Coca 25e4398d5b fix for check_mode/async interaction
fixes #18110

(cherry picked from commit 432633e4c1)
9 years ago
Toshio Kuratomi f15ec38788 Thanks to mscherer, these tests are now passing
(cherry picked from commit fd14048d46)
9 years ago
Michael Scherer ddbc01dfe5 Let authorized_keys be tested on python 3
(cherry picked from commit e93a8814a3)
9 years ago
Toshio Kuratomi 6e36d1899c Update submodule refs 9 years ago
John R Barker ba8e1f88a9 Port validate-modules to stable-2.2 (#18119) 9 years ago
James Tanner 1dfa0e06eb Update 2.2 submodule refs for core 9 years ago
Michael Scherer e9b7d42205 Use six.move for module in module_utils/facts.py
(cherry picked from commit 4549604cc7)
9 years ago
Toshio Kuratomi d2998f0811 Update submodule refs to pick up git fix 9 years ago
Adrian Likins fa8f9e9ead Fix test_filters fail because of dict sort (#18105)
Fixes #17308
(cherry picked from commit f99ffb5620)
9 years ago
Toshio Kuratomi 257182e46a Pixelrebel amc pr2654 (#18089)
* Add tag verification test (ansible-modules-core PR 2654)

* Fix typo

* Use smaller repo for testing, add dependency control

* Test is gpg exists before running git signing tasks

* Correct the test conditionals so that gpg1 is tested

(cherry picked from commit b902b5d046)
9 years ago
James Cammarata bce9bfce51 New release v2.2.0.0-0.2.rc2 9 years ago
Toshio Kuratomi cc91c34f36 Update submodule ref 9 years ago
Toshio Kuratomi a0a4d0e3f4 Add changelog entries for ansible_managed and yum fix 9 years ago
Toshio Kuratomi b9e8aa72be Make the default Ansible_managed string static so it doesn't interfere with idempotency
(cherry picked from commit 5037dc4e69)
9 years ago
Brian Coca fb921042db properly propagate loop vars
fixes #17966

(cherry picked from commit 99220a5f6c)
9 years ago
Brian Coca 885b218a7b fix include_role dynamic path
fixes #17966

(cherry picked from commit 01b75f966b)
9 years ago
Brian Coca c5b155ba1a include_role now allows duplicates by default
setting is overridable by user

(cherry picked from commit 38d0f77a0f)
9 years ago
Toshio Kuratomi f6295677c9 Update submodule refs 9 years ago
Toshio Kuratomi 1e54f424ec epdb doesn't work on python3 so we need a different package to test pip
(cherry picked from commit 7e0bd5632d)
9 years ago
Toshio Kuratomi b373f67368 Fix ansible-pull on python3
On python3, we can't write bytes directly to sys.stdout.

(cherry picked from commit 60acfd1e87)
9 years ago
James Cammarata 924e0726df Break out of linear strategy if all hosts are failed and the result is not OK
Fixes #18021

(cherry picked from commit 5be2a3a9e0)
9 years ago
Toshio Kuratomi 69ff46b8ca Update extras submodule ref to pick up no_log fix for ovirt_auth 9 years ago
Toshio Kuratomi 19516d8c19 Note subversion no_log fix 9 years ago
Toshio Kuratomi 531023ad1f Update submodule ref to pick up subversion no_log fix 9 years ago
Aaron Bieber 1af1cca59f Remove -b option from pbrun.
The -b option reads as follows:
` The target job is directed to ignore hangup signals. This is particularly
useful for running the target program in the background.`

If needed, '-b' can be added to become_flags

Squashed commit of the following:

commit f2c9f5c011ae8be610301d597a34bfba1a391e08
Author: Aaron Bieber <aaron@bolddaemon.com>
Date:   Mon Oct 17 10:58:14 2016 -0600

    remove pbrun flags

commit f402679ac177c931ad64bd13306f62512a14fcd6
Author: Aaron Bieber <aaron@bolddaemon.com>
Date:   Fri Oct 14 15:29:29 2016 -0600

    use Password: vs assword: for matching pbrun prompt

commit cd2e90cb65854c4cc5dd8773404e520d40f82765
Author: Aaron Bieber <aaron@bolddaemon.com>
Date:   Fri Oct 14 15:28:58 2016 -0600

    move -b to pbrun_flags

(cherry picked from commit 3fc1b4da53)
9 years ago
Brian Coca dde882c91f updated pbrun test to match expected output
(cherry picked from commit 04b86df815)
9 years ago
Andrew Gaffney 7ee14f466e Fix search path for relative paths in roles (fixes #17877)
(cherry picked from commit 72f0aaf606)
(cherry picked from commit ef3fa115d3ba319b7f6a7a86a85655d9cf766120)
9 years ago
Brian Coca 9a9f767857 fixes to ansible_search_path
now gets basedir (no need to frontload as dwim already does that)
added comment about basedir to search_path usage to avoid dupes

(cherry picked from commit b14bce867d645af716641a8bf674fa9eba9ddb98)
9 years ago
Brian Coca d4b8178b4b avoid errors when dynamic role
(cherry picked from commit 6f2936e57b268e9f8a2ed5c23c6af49888f869ae)
9 years ago
Toshio Kuratomi 141ed26e02 Update extras submodule ref to pull in password hiding fix for postgresql_lang and postgresql_ext 9 years ago
Toshio Kuratomi 5bf850568a Update submodule refs 9 years ago
Robin Roth 24d7555d0b Allow unicode inventory filename
Fixes #17932

(cherry picked from commit 3922328954)
9 years ago
Bill Nottingham d3dd82f3cf Change <support@ansible.com> - it's being retired. 9 years ago
Toshio Kuratomi e1101f78bd Fixes to handle non-ascii become passwords
Fixes for non-ascii passwords on
* both python2 and python3,
* local and paramiko_ssh (ssh tested working with these changes)
* sudo and su

Fixes #16557

(cherry picked from commit f24c10c32b)
9 years ago