Commit Graph

29716 Commits (767f0e5d3fb65779afbfa37bdd4e77a067de90a3)
 

Author SHA1 Message Date
Toshio Kuratomi 767f0e5d3f Changelog entry for digital_ocean dyn inventory py3 fix 9 years ago
James Elford db121421a6 python 3 compatibility: import guard around ConfigParser
In python3 `ConfigParser` has become `configparser`. Added
an import guard that aliases it back to the old name.

(cherry picked from commit bc9dbf38b0)
9 years ago
Ricardo Carrillo Cruz 8bfc36db6e Add missing provider on basic-motd IOS test (#25307)
Without this it fails, as it needs elevated privs.
(cherry picked from commit ffc74fdca2)
9 years ago
Brian Coca 58d23ba378 added chnlog for towerjob fix 9 years ago
Bill Nottingham a09fbb4b15 Fix handling of extra_vars_path parameter. (#25272)
tower-cli process_extra_vars takes a list.
(cherry picked from commit d0cc980223)
9 years ago
Brian Coca cb8517ba0a added parted i18n fix 9 years ago
Fabrizio Colonna 5512e7a27c Fixes parted i18n issues (#24991)
* Fixed issue 24969

* Used C locale and global env update.

(cherry picked from commit f364d7af8e)
9 years ago
Ganesh Nalawade 5d6fd93474 Add support to fetch old style junos facts (#25250) (#25292)
* Add support to fetch old style junos facts

Fixes #25050

Add support to fetch old style facts supported in Ansible <= 2.2
To fetch old style facts value `gather_subset` value shoule be `all`
and `junos-eznc` is required to be installed on control node as a
prerequisite.

* Remove unwanted import

(cherry picked from commit 85219dfdf3)
9 years ago
Toshio Kuratomi c5aec5703a Add ec2 policy sorting python3 fix 9 years ago
mechaxl 33b88e9770 Fixing policy sorting for Python 3
(cherry picked from commit 3c3e9c3b36)
9 years ago
MechaXL 25ff5bd353 Convert basestring to string_types (#25228)
(cherry picked from commit c1f0260ae3)
9 years ago
John R Barker 0fefd8493b Adds documentation of implicit regex match removal (#24934) (#25255)
regex_replace has a implicit parameter for `replacement` and thus can remove the matched string
(cherry picked from commit aa9ea3d43a)
9 years ago
Matt Clay da8963d788 Temporary work-around for setuptools 36.0.0 bug. (#25243)
* Temporary work-around for setuptools 36.0.0 bug.
* Use older setuptools for pip integration test.
* Limit isort version to avoid new test failures.

(cherry picked from commit 9d8aa43c67)
9 years ago
John R Barker 250a1cfeca Update facts module to support the new OS10 10.3 release (#25090) (#25223)
* Update facts module to support the new OS10 10.3 release

* Address PEP8 issues reported by ansibot

(cherry picked from commit e0db5d23cc)
9 years ago
Benjamin Curtis cedd0f5da2 Fix return code (#23592)
The Honeybadger API returns 201 for success, not 200.
(cherry picked from commit 16c2207d21)
9 years ago
Ricardo Carrillo Cruz ec545d7b42 Add provider param to prepare_iosxr_tests role tasks (#25163)
This will avoid passing -u -k to ansible-playbook
(cherry picked from commit 69efb61008)
9 years ago
Abhijeet Kasurde 9d4875a727 Misc typo fix in fleet inventory (#25174)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>(cherry picked from commit 3a82246d82)
9 years ago
John R Barker 23277a622c aos_login change default port and add version check (#24752) (#25171)
* Change default port for aos_login and force type to Integer

* Add check to make sure aos-pyez is present and has the right version

* Update min version requirement in doc

* Change default port in documentation as well

(cherry picked from commit 6dd1fc6f34)
9 years ago
John R Barker d07ab49904 Update main.yml 9 years ago
Ganesh Nalawade 3932c53328 Fix IndexError when junos_config contains multiple delete lines (#25139) (#25148)
* Prevent IndexError when deleting multiple lines

The old code will raise `IndexError: list assignment index out of range` when deleting multiple lines because the indexes of the original and the copy get out of sync. Solved by deleting from the high indexes first so the lower ones remain stable.

* Don't load configuration if nothing to load

Instead of sending an empty candidate config (for example because the candidate only consisted of `delete` lines, and all of them were filtered out by `filter_delete_statements`) just return. JunOS seems to get confused by empty changes, and if the candidate config is empty then it's a no-op anyway.

(cherry picked from commit 06f76a2741)
9 years ago
Evan Kaufman d7ce5e68ea Fixed backup file behavior in check mode (#24899)
Fixes ansible/ansible#21523
(cherry picked from commit ce584571e8)
9 years ago
Daniel Wright 748b7c423f [cloud] Backport handling of CloudFormation int parameter values - fixes #23593 (#25051) 9 years ago
Abhijeet Kasurde 2eb727f1fe [cloud] Bugfix: Make wait_timeout integer type in redshift module (#25063)
Fix stricts datatype of wait_timeout to int as module
is using it as integer.

Fixes #25056

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
9 years ago
Toshio Kuratomi 31b531ad65 add empty links in docker_container fix to changelog 9 years ago
louis 704c6f09c7 fixes #19550 (docker_container with empty links list always restarts)
(cherry picked from commit 7363776174)
9 years ago
Toshio Kuratomi 70328b18d4 Update changelog with more fixes 9 years ago
Konrad Klimaszewski 2e5b4a9b2c Docker does not output Status after pull anymore.
- Docker 1.12 on CemtoOS7 does not output status line anymore.
- Do not rely on Docker output to verify if the image was the latest.

(cherry picked from commit 5f3c887c38)
9 years ago
Konrad Klimaszewski b05b5b9347 Properly handle Docker image comparison for published_ports defined as IP::PORT
- Published port defined as IP::PORT where parsed in expected.parameters
  as 0.0.0.0::PORT leading to changed==True on every playbook run.

(cherry picked from commit 64f63a3cac)
9 years ago
Nikolay Murga 4978566117 Fixed #21464 - docker_network: TypeError with existing network (#24266)
Fixed #22530 - docker_network Failed but Overlay network created successfully on Docker swarm mode
(cherry picked from commit 3610a2457f)
9 years ago
Toshio Kuratomi 121941635d Add docker fixes 9 years ago
bengerman bf94109ade rebuild docker containers if there are less ports exposed
(cherry picked from commit cb3026f769)
9 years ago
Toshio Kuratomi e42b4a266b Add os_user fix to changelog 9 years ago
Guillaume Coré 93fed65ea2 os_user: fix module undefined
module variable in the function is undefined. Pass it.

fix "NameError: name 'module' is not defined"

(cherry picked from commit a5c70dc672)
9 years ago
Brian Coca 095be9c904 updated changelog service fix 9 years ago
Brian Coca dfb00f4c5f fixes for insserv on SLES11
fixes #23700, seems SLES11 has diff behaviour of insserv
these changes are compatible with debian/ubuntu.

(cherry picked from commit a86878c425)
9 years ago
Toshio Kuratomi 0d57e17d67 Add docker_container fix to changelog 9 years ago
bengerman c3d5e2da91 typo in security opts
(cherry picked from commit fab2dfd1c6)
9 years ago
Brian Coca af0583d8b6 updated chlog 9 years ago
Brian Coca 718554a39e updated with solaris fact backport fix 9 years ago
Brian Coca 20008be317 Solaris fact fix (#24793)
* ensure locale for solaris fact gathering

fixes issue with locale interfering with proper reading of decimals
fixes #24542

* fixed typoe

(cherry picked from commit e558ec19cd)
9 years ago
bengerman13 f9d781bcab add xattr integration tests to ci (#24950)
* add xattr integration tests to ci

* fix package syntax

* remove unnecessary become, disable xattr for bsd and osx

(cherry picked from commit 4b6db5db7c)
9 years ago
bengerman13 081e98739e add integration tests for xattr module (#24947)
* add integration tests for xattr module

* fix whitespace

(cherry picked from commit 25aac6151f)
9 years ago
kkjang dd20427db9 Fix expect for python 3 (#24912)
* Fix expect for python 3

- Change generator next to python 3 compatible
- Added tests for expect

* Add pexpect to integration.txt

- add pexpect library to requirements for integration tests

* Use ansible_python_interpreter in integration tests for expect

* Use double-quotes for expect integration tests

* Cast user input to string for expect integration tests

* Cast user input to string earlier in expect integration tests

* Use ansible.module_utils.six.moves input for expect integration tests

* Fix yamllint errors in the expect test

* Use cat to trigger timeout for expect integration tests

* Use realpath filter in expect integration tests

(cherry picked from commit daada2000c)
9 years ago
Toshio Kuratomi c57e5e1305 Remove vertica_schema from the pep8 legacy files 9 years ago
Toshio Kuratomi 1eef136c7c Fix bad merge of vertica_user 9 years ago
kgottholm 091a379da1 Vertica schema fix (#24915)
* replace deprecated cmp() with custom conditional
cmp is not present in Python3 but several modules use it
Reference 24756
(cherry picked from commit 5240e5a230)
9 years ago
Brendan Almonte ef40b0085b Read directory_mode as 'raw' type
Reads the directory_mode param as 'raw' type to mirror the same behavior as mode.
This'll cause non-quoted values to be represented as an int, rather than a str.

Covered by 'assert recursive copied directories mode' test.

Fixes #24202

(cherry picked from commit 8d8cfb5fcd)
9 years ago
cheko f82e80dac6 Bugfix: Directories in /etc/skel will get users ownership when home dir is created (#24943)
* Bugfix: Directories in /etc/skel will get users ownership when home dir is created
* Bugfix: Chmod works now recursive for the home dir

(cherry picked from commit 0dc5e8bf71)
9 years ago
Toshio Kuratomi cd659994bd Remove empty file that didn't exist in 2.3.0 9 years ago
kgottholm 0ace2b4332 Os port fix (#24913)
* replace deprecated cmp() with custom conditional
cmp is not present in Python3 but several modules use it
Reference 24756
(cherry picked from commit 1e4b227e6f)
9 years ago