Commit graph

29974 commits

Author SHA1 Message Date
Brian Coca
62106d5dcf corrected with_dict example
fixes #17636

(cherry picked from commit 001be55ef0)
2017-08-07 17:27:28 -07:00
Toshio Kuratomi
da332138dd Fixes to pip with git install instructions
* use git+https:// in the example url because not everyone will have ssh
  keys registered on github
* Remove the link to the github tarballs as they do not work.  users can
  use releases.ansible.com instead.

(cherry picked from commit bf42f94021)
2017-08-07 17:27:28 -07:00
Rene Moser
cb1bd058ad changelog: add fixes to be in 2.3.3 2017-08-07 17:27:28 -07:00
Rene Moser
1244624d7c Fix for check_mode in archive (#26788)
Fix adds check_mode fix for archive module.

Fixes: #26750

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 156b29b26b)
2017-08-07 17:27:28 -07:00
David Moreau-Simard
b5c51c4c56 Improve release and development cycle documentation
This commit:
- Adds a table highlighting the status of each version and provides
  a link to each major release's changelog
- Re-inforces how stable versions are maintained and for how long
- Moves this documentation out of the developer tree (this is
  interesting for users too!) while keeping a link there.

(cherry picked from commit e2d874c744)
2017-08-07 17:27:28 -07:00
Arthur Burkart
53a53ebf73 Updates docs to match module behavior (#26658)
* Updates docs to match module behavior

* Updates docs to match module behavior

Updated using advice from jimi-c

* Removes snippet about git module before v1.8.3

At suggestion of robinro

(cherry picked from commit 90a42d1e53)
2017-08-07 17:27:28 -07:00
Toshio Kuratomi
5d6da688ed Add changelog entry for the seboolean module fix 2017-08-07 17:27:28 -07:00
Toshio Kuratomi
3aca12b451 Import to_native 2017-08-07 17:27:28 -07:00
David Newswanger
49a27da0b2 added unicode iosxr fix to changelog 2017-08-07 17:27:28 -07:00
David Newswanger
5c97a27d20 fix unicode errors in iosxr
(cherry picked from commit 0b5b5ec50a)
2017-08-07 17:27:28 -07:00
Toshio Kuratomi
2d9cbdc107 Add changelog for ios_config change 2017-08-07 17:27:28 -07:00
David Newswanger
60b3c2ad9c Fix #26918: IOS TypeError (#26999)
Fix IOS TypeError

* if flags are None, then ' '.join(flags) fails
* fixed get_defaults_flag so that it returns a list, and ignores lines with white space

Fixes #26918
(cherry picked from commit 9f64e446c6)
2017-08-07 17:27:28 -07:00
Toshio Kuratomi
8e949c616e Add module_utils example next to library examples (#25390)
(cherry picked from commit 37e757286d)
2017-08-07 17:27:28 -07:00
Toshio Kuratomi
95ac4c4a96 Add changelog for docker_login py3 fix 2017-08-07 17:27:27 -07:00
Will Medlar
4251db2345 [Fixes #26690] Supports Python 3 handling of base64 encoding (#26876)
* [Fixes #26690] Supports Python 3 handling of base64 encoding

* Set text auth to separate variable for reuse

(cherry picked from commit 3f67d167fe)
2017-08-07 17:27:27 -07:00
Rene Moser
927548e2f6 cloudstack: cs_role: fix UnboundLocalError in check mode
(cherry picked from commit 6d81c9670f)
2017-08-07 17:27:27 -07:00
ioggstream
ad61c12b06 known_hosts: always use lowercase hostnames for host keys (#26850)
(cherry picked from commit dc408f9035)
2017-08-07 17:27:27 -07:00
Toshio Kuratomi
80ae8e9b29 Add py3 fix for AnsibleModule.run_command to changelog 2017-08-07 17:27:27 -07:00
Toshio Kuratomi
fdc8a75218 Need regex and string types to match when cleaning arguments for logging
Fixes #25078

(cherry picked from commit b49be56c5b)
2017-08-07 17:27:27 -07:00
Toshio Kuratomi
81278323f3 Add hacking/env-setup python3 fixes to the changelog 2017-08-07 17:27:27 -07:00
Sloane Hertel
896becab34 hacking/test-module: fix for python3 (#26194)
* make hacking/test-module compatible with python3
(cherry picked from commit 113f92548a)
2017-08-07 17:27:27 -07:00
Jordan
db3ae98233 changelog: added entry for win_acl fix 2017-08-07 17:27:27 -07:00
Jordan Borean
c55b078d92 win_acl: registry support for special service accounts (#26629)
* Fixes #22968
* `APPLICATION PACKAGE AUTHORITY` ACLs also apply to the registry

* fixed nested for loop

(cherry picked from commit 81c22522a5)
2017-08-07 17:27:27 -07:00
Toshio Kuratomi
d038997d5c Add fix for postgres_user to changelog 2017-08-07 17:27:27 -07:00
Toshio Kuratomi
3d0462b456 Add pause module py3 fix to changelog 2017-08-07 17:27:27 -07:00
Toshio Kuratomi
30f813d716 Fix the pause module for python3
* On python3, stdin goes through a buffer that translates from raw bytes
  to text.  this interferes with pause as it (1) performs universal
  newline conversion and therefore '\r' is turned into '\n' and (2) the
  buffering prevents us from getting the typed characters immediately
  (possibly a python3 bug?)  Using the raw byte stream that's behind the
  text decoder fixes these problems.

Unrelated cleanups:
* Use to_text instead of str for conversion into strings to avoid possible tracebacks
* Use either \r or \n as the end of a line.

Fixes #26278
Resolves #26446

(cherry picked from commit 5ceabe939d)
2017-08-07 17:27:27 -07:00
Toshio Kuratomi
994ed2c443 Add template lookup fix to changelog 2017-08-07 17:27:27 -07:00
Toshio Kuratomi
2b40463a48 Do not escape backslashes when using the template lookup plugin
This brings the lookup plugin inline with what the template module does.

Fixes #26397

(cherry picked from commit cf5fb0acdf)
2017-08-07 17:27:27 -07:00
Toshio Kuratomi
743b396e5e Add azure py3 fixes to changelog 2017-08-07 17:27:27 -07:00
Raja
6e34fd16d5 Fix Python3 Errors in Azure Cloud Module
When using Python3, the exec_module function errors out with a
unsupported operand type(s) for +: 'dict_keys' and 'list'
error when adding the .keys() to a static list. Use the explicit
list function to make a list of keys and then add to the ['tags'] list.

(cherry picked from commit 171d903d04)
2017-08-07 17:27:27 -07:00
Toshio Kuratomi
f00d44e0b4 CHANGELOG entry for synchronize fix 2017-08-07 17:27:27 -07:00
Toshio Kuratomi
ac8598f1db Fix synchronize setting user variable
The user variable stores whether we need to set user@ in our connection
string.  It's now being used at the toplevel of the run() method so the
default needs to be calculated further up the stack

Fixes #24910

(cherry picked from commit 6908038036)
2017-08-07 17:27:27 -07:00
Matt Davis
584af4e9f8 2.3.2 CHANGELOG update for win_updates and non-pipelined fixes 2017-08-07 17:27:27 -07:00
Jordan Borean
392d268809 win_find: fix for empty nested directories (#26164)
(cherry picked from commit 98fc54f02d)
2017-08-07 17:27:27 -07:00
Michael De La Rue
a8afa6b96c Fix hacking/test-module to allow running modules with pdb (#23339)
* Fix hacking/test-module to allow running modules with pdb

* add emacs autosave files to gitignore

(cherry picked from commit 56d33a2967)
2017-08-07 17:27:27 -07:00
James Cammarata
c7052b42c7 New release v2.3.2.0-1 2017-08-04 15:24:09 -05:00
James Cammarata
611048c6ba Finalizing date for 2.3.2 final release in CHANGELOG 2017-08-04 15:18:06 -05:00
bobsaintcool
435cdcf84a <doc/dev/modules: Fix an RST typo into external link> (#27615)
Make a link a valid external hyperlink targets.
2017-08-03 14:28:24 -07:00
Matt Clay
c869423e0c Use python-crypto instead of python2-cryptography. 2017-08-03 12:39:25 -07:00
Matt Clay
96dd226235 Update RPM spec and make targets. (#27712)
(cherry picked from commit b54d00f2de)
2017-08-03 12:39:25 -07:00
Trishna Guha
eff04e9fa3 modify indent to avoid re-run src template fail (#27689)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-03 13:50:44 +05:30
Trishna Guha
3d446b2fab fix NameError eos_config (#27684)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-03 11:39:53 +05:30
syquus
987ad8993c Typo on path return Value : "authorzied" (#27555)
Seen on official documentation: http://docs.ansible.com/ansible/latest/authorized_key_module.html
2017-08-02 22:09:49 +01:00
James Cammarata
76b5b35458 New release v2.3.2.0-0.5.rc5 2017-08-01 18:51:23 -05:00
Toshio Kuratomi
360703234e add changelog 2017-08-01 15:39:34 -07:00
Toshio Kuratomi
25c95a96a8 Fix for ansiballz filenames conflicting with python stdlib modules
The AnsiBallZ wrapper is transferred to the remote machine with
a filename similar to the Ansible-module it runs.  For modules like copy
and tempfile, this can end up conflicting with stdlib modules on the
remote machine depending on how python is setup there.  We have a little
bit of code in the wrapper to deal with this by removing the path that
the ansible module resides in from sys.path.

On MacOSX, that code was having a problem.  The path the module ends up
in included a symlinked directory so we were looking for a path in
sys.path but we had to look for the unsymlinked path instead.

Fix that by using os.path.realpath() instead of os.path.abspath()

(cherry picked from commit 15902f2496)
2017-08-01 15:21:21 -07:00
John R Barker
46846b1973 docs: fix community meetings link (#27264) (#27586)
(cherry picked from commit 9c50933a80)
2017-08-01 17:43:18 +01:00
Abhijeet Kasurde
d0a1679113 [Backport] Multiple fixes for vmware_guest_facts (#27464)
* Updated Folder documentation
* Updated Example
* Updated imports
* Added correct logic to use FindByInventoryPath() API
* Remove get_exception in favor of to_native
* Remove redundant get_obj method

Fixes: #24691

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-08-01 09:35:10 -04:00
Abhijeet Kasurde
504558eab3 [Backport] vmware_guest: Fix "KeyError: 'changed'" (#27456)
This is a backport of vmware_guest fix.

Fixes: #27390

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-08-01 09:34:43 -04:00
Matt Clay
6698dc00e3 Add potential work-around for expect on macOS.
http://pexpect.readthedocs.io/en/stable/commonissues.html#truncated-output-just-before-child-exits

(cherry picked from commit 0c7602fb59)
2017-07-31 13:22:52 -07:00