Commit Graph

19624 Commits (7baf994f2c7c9f07adf94ab9fa147cf31cdf738d)
 

Author SHA1 Message Date
Brian Coca eea3051a12 readded var incorrectly removed via merge 8 years ago
Brian Coca f99060b3b9 resolve inventory path on init
This allows meta refresh_inventory to work with relative paths
Added option to unfrackpath to not resolv symlinks
fixes #16857

(cherry picked from commit 8217c1c39c)
8 years ago
nyasukun 00c48637b0 fixed memoryerror when coping huge file (#16392)
* fixed

* support both python 2 and 3

(cherry picked from commit adea1f2b80)
8 years ago
James Cammarata 0f6b318b29 Belated updating of CHANGELOG for 2.1.3 8 years ago
James Cammarata 4cadc98049 New release v2.1.3.0-1 8 years ago
Toshio Kuratomi 394dd2be04 Revert "fix iteritems for python 3"
This reverts commit 0bb04e132a.

This was supposed to land on stable-2.2, not stable-2.1
8 years ago
Daniel Menet 0bb04e132a fix iteritems for python 3
(cherry picked from commit 19fdb58948)
8 years ago
James Cammarata b056a5823f New release v2.1.3.0-0.3.rc3 8 years ago
Matt Davis b5c95ea6fa backport various docker_common fixes from devel 8 years ago
Matt Davis 12a38bc75f fix version check to support >=rc5
(cherry picked from commit d1e1898b0e)
8 years ago
Thomas Quinot c03bdbfad0 Filter out internal magic and connection variables from facts returns
Fixes #15925

(cherry picked from commit 236c923c25)
8 years ago
James Cammarata e2926bd398 New release v2.1.3.0-0.2.rc2 8 years ago
Toshio Kuratomi 72cd60a1cd Update submodule refs 8 years ago
Toshio Kuratomi 14e021496d Add changelog for apt_key change 8 years ago
Matt Clay aadf342b46 Switch test_lookups to badssl/local testing. (#16466) (#18144)
* Switch test_lookups to badssl/local testing.
* Use var for checking badssl host content.

(cherry picked from commit 394430a61e)
8 years ago
John R Barker 60a2da09de Backport validate-modules to stable-2.1 so we can have versioned testing (#18120)
See #18001 for more details
8 years ago
James Cammarata e00dc01803 New release v2.1.3.0-0.1.rc1 8 years ago
Toshio Kuratomi 28016bf1a0 Add entry for using no_log with password in subversion 8 years ago
Toshio Kuratomi 768c1e2e58 Update core submodule to pull in fix for subversion and no_log 8 years ago
Toshio Kuratomi a18e2976c6 Update extras submodule ref to pull in postgresql_lang and postgresql_ext password hiding fix 8 years ago
Bill Nottingham 3f7ac72427 Change <support@ansible.com> - it's being retired. 8 years ago
Toshio Kuratomi 4ea3cd3a38 Fix paramiko for non-ascii become password
Cherry-picked from a part of f24c10c32b
8 years ago
Toshio Kuratomi 264b33da6b Fix become password using non-ascii for local connection
Fixes #18029

(cherry picked from commit efc5dac52c)

In 2.1, the to_bytes function doesn't have a surrogate_or_strict error handler
8 years ago
Bruno Rocha 3e58f08155 Fix unbound method call for JSONEncoder (#17970)
* Fix unbound method call for JSONEncoder

The way it is currently it will lead to unbound method error

```python
In [1]: import json

In [2]: json.JSONEncoder.default('object_here')
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-872fdacfda50> in <module>()
----> 1 json.JSONEncoder.default('object_here')

TypeError: unbound method default() must be called with JSONEncoder instance as first argument (got str instance instead)

```

But what is really wanted is to let the json module to raise the "is not serializable error" which demands a bounded instance of `JSONEncoder()`

```python
In [3]: json.JSONEncoder().default('object_here')
---------------------------------------------------------------------------
TypeError: 'object_here' is not JSON serializable

```

BTW: I think it would try to call `.to_json` of object before raising as it is a common pattern.

* Calling JSONEncoder bounded `default` method using super()

(cherry picked from commit b06fb2022c)
8 years ago
Brian Coca 972379c907 fix method signature 8 years ago
James Cammarata 6db31bb4c6 Moves 'statically included' messages to -vv verbosity 8 years ago
James Cammarata a7d0cc6e61 Move searching for roles in the cur basedir to last
Searching the DEFAULT_ROLES_PATH and the roles basedir should come
before this, and it has been a long standing oversight.

Fixes #17882

(cherry picked from commit 0a86ddc251)
8 years ago
Brian Coca ea5e2d46ee fixed storing of cwd
(cherry picked from commit d9d7e413a5)
8 years ago
Brian Coca e72d1e995f fixed usage of incorrect exception class
fixes #17895
8 years ago
James Cammarata 2a234c1ff9 Check for substates in is_failed before checking main state failure
Fixes #17882

(cherry picked from commit d09f57fb3a)
8 years ago
Brian Coca 751865d68c only change dir to playdir if local
fixes #17869
fixes #17770

(cherry picked from commit 49ce0c8bac)
8 years ago
Matt Davis ec1f19ac3a bump core submodule ref 8 years ago
James Cammarata 29f2f26278 New release v2.1.2.0-1 8 years ago
James Cammarata 5f23d09e7c Removing mount from CHANGELOG due to reversion 8 years ago
Toshio Kuratomi b989004a0b Pick up core reversion of mount changes 8 years ago
James Cammarata fd256a79a1 Updating CHANGELOG for 2.1 8 years ago
James Cammarata c3257027b9 New release v2.1.2.0-0.5.rc5 8 years ago
Toshio Kuratomi 4c845b4ef0 Update submodule ref for fix to mount backport 8 years ago
James Cammarata 3d8dac2084 New release v2.1.2.0-0.4.rc4 8 years ago
Toshio Kuratomi 2b7761cd37 Update core to pick up more mount changes 8 years ago
Toshio Kuratomi 60a6c83abc Add ini_file whitespace change to the CHANGELOG 8 years ago
Toshio Kuratomi ee4ba3ceca Update submodule refs 8 years ago
Toshio Kuratomi 66ffe199e5 Disable mount tests for now. Mount is buggy on too many platforms 8 years ago
Toshio Kuratomi 5635670191 Update submodule refs for mount fixes 8 years ago
Toshio Kuratomi a4611ff509 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
Abhijit Menon-Sen cc71765d9e Use loop_control.loop_var directly
6eefc11c converted task.loop_control into an object, but while the other
callers were updated to use .loop_var instead of .get('loop_var'), this
site was overlooked.

This can be reproduced by including with loop_control a file that does
set_fact; a simple regression test along these lines is included.

(cherry picked from commit 950cc26aab)
8 years ago
Peter Sprygada b5b8a756fc fixes issue with net_template failing unless src argument provided. (#17726)
This fixes an issue where the net_template action will fail if a non
required argument (src) is not provided.

fixes ansible/ansible-modules-core#4978
8 years ago
nitzmahone 4c9ed1f4fb bump extras submodule ref for win_chocolatey fix 8 years ago
Toshio Kuratomi e917a0bd7a Fix for cherry-pick e8dddc3679,
The cherry-pick allows module parameters to convert int to float, fixing
bugs where a float type is required.  However, it used types from the
six library for python3 compatibility as well.  Since we don't have
six in 2.1.0 this was buggy.  Merging the unittests for the problem
here: adc158a499 made this buggy behaviour
apparent.
8 years ago
Toshio Kuratomi 9de21e1eaa Update submodule refs 8 years ago