Commit graph

1197 commits

Author SHA1 Message Date
Martin Krizek
307b9b25ca Update CHANGELOG.md 2018-01-03 17:09:25 +01:00
Matt Davis
266afc61b8
Update CHANGELOG.md 2018-01-02 20:43:12 -08:00
Toshio Kuratomi
48a0cf1148 add cloudscale fix to the changelog 2017-12-19 14:31:39 -08:00
Brian Coca
b375d5f3ea dont warn on not matching 'all' (#32806)
* dont warn on not matching 'all'

the implicit localhost warning shoudl be enough

* centralized no hosts handling

also extended info on implicit only

(cherry picked from commit 87c75b19dd)
2017-12-19 15:07:31 -05:00
Brian Coca
7d976c6484 fix reconcile to ensure 'ungrouped'
also removed redundant 'hosts to all' as all groups already ensure that inheritance

(cherry picked from commit ad94a3a6a2)
2017-12-19 15:02:44 -05:00
Toshio Kuratomi
aa50818506 changelog for file attribute fix 2017-12-15 09:51:32 -08:00
Jordan Borean
e95611980a update changelog for win_iis_webapppool for password fix 2017-12-15 09:53:33 +10:00
Matt Martz
df3b45e0f4 Add changelog entry for #33926 2017-12-14 16:05:31 -06:00
Ganesh Nalawade
13937ce772
ios_config save (#33791) (#33872)
* Fixing save so it still works. Adding changed as an option for save_when.

* Updating unit tests.

* Updating description to state that changed was added in 2.5.

(cherry picked from commit 3a9083cf48)

* Update Changelog
2017-12-13 22:31:09 +05:30
John R Barker
3f7b1ba606
Fix CloudEngine host failed 27876 2017-12-13 13:45:52 +00:00
Jordan Borean
a635a7861b updated changelog for win_iis_webapppool fix 2017-12-13 16:36:09 +10:00
Adam Miller
74de512bfc remove unnecessary extra conditional (thanks bcoca)
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
(cherry picked from commit 7bc7c347dd)
2017-12-12 13:09:25 -05:00
Brian Coca
5067a1340a always preserve certain keys (#33637)
* always preserve certain keys

fixes #33433

* results

(cherry picked from commit 8d78a829c6)
2017-12-12 13:05:38 -05:00
Jordan Borean
5fb97aa6c9 Updated changelog for windows fetch fix 2017-12-12 15:01:30 +10:00
Toshio Kuratomi
132d6fe78c Add environment on loop fix 2017-12-08 07:22:54 -08:00
Toshio Kuratomi
dc788f1377 Add ansible_python_interpreter fix to changelog 2017-12-08 07:01:46 -08:00
Toshio Kuratomi
5435c7a9cb Add letsencrypt python3 fix to changelog 2017-12-07 17:22:38 -08:00
Andreas Olsson
aaf7bf8fc9 Only expose rekey options to ansible-vault command
`ansible-vault` is the only cli command which knows how to handle the
rekey options `--new-vault-id` and `--new-vault-password-file`. No
point in exposing those rekey options to any of the other ansible
commands.

On a practical level I think this matters most in ensuring that
`--help` doesn't produce any false/unhelpful output.

(cherry picked from commit b78ab37a94)
2017-12-07 11:49:44 -05:00
Brian Coca
fcd6731113 report correct file for callback
(cherry picked from commit d850992526)
2017-12-07 11:30:02 -05:00
Jordan Borean
e4c2872b7f updated changelog with win_copy fix 2017-12-07 06:57:18 +10:00
Toshio Kuratomi
2627b3153e Add nxos fix to changelog 2017-12-06 12:28:11 -08:00
Toshio Kuratomi
ef7cea1f89 Update changelog for more bugfixes 2017-12-06 12:17:18 -08:00
Toshio Kuratomi
5c8423658a Add changes to changelog 2017-12-06 11:55:05 -08:00
Martin Krizek
c40dff2108 Add free strategy fix to the changelog 2017-12-06 11:40:10 -08:00
Sam Doran
bcbc9fcf31 Update CHANGELOG 2017-11-30 16:19:28 -05:00
Martin Krizek
5340da2a7d selinux: check if policy exists before switching (#31834)
* selinux: check if policy exists before switching

* Check the policy dir

(cherry picked from commit 0592fd47bc)
2017-11-30 16:10:36 -05:00
R. Francis Smith
f0741ecaa0 updated pamd rule args regexp to match file paths also (#33432)
* Added . and / to rule args regexp

Things like pam_echo.so file=/etc/foo.txt weren't being matched and
causing incorrect change counts.  Adding / and . fixed that.

Fixes #33351

(cherry picked from commit e957760d52)
2017-11-30 16:02:39 -05:00
Toshio Kuratomi
5d5b5d5a80 Update version info for the 2.4.2 release 2017-11-29 12:08:24 -08:00
Toshio Kuratomi
f10404335d Add last minute bugfixes and doc updates for rc1 2017-11-22 18:36:01 -08:00
Brian Coca
689065924a restore hostpattern regex/glob behaviour
they are back to matching both groups and hosts when they are a glob/regex

fixes #32906

(cherry picked from commit e50f931cf3)
2017-11-22 09:34:08 -05:00
Matt Davis
b911186024
Ensure that readonly result members are serialized (#33170)
* fix for breaking metadata change in various Azure Python SDK bits; some members were marked `readonly` for validation, which the default msrest serializer ignores. Added `keep_readonly` flag to serializer call to ensure they're preserved.
(cherry picked from commit 70e351036dfdeb0c862db2e642085a648e23a47f)
2017-11-21 17:21:24 -08:00
Matt Davis
832c8e5f09
removed superfluous type field from RecordSet constructor (#33167)
* fixes breaking change in Azure DNS Python SDK 1.2.0
* no apparent functional change (the arg appears to have been superfluous all along)
(cherry picked from commit 64f4132571164d8a1d4db95b4bed1f5127367c9e)
2017-11-21 14:41:25 -08:00
Toshio Kuratomi
0541c00ef7 Add inventory jsonification to the changelog 2017-11-21 13:56:47 -08:00
Brian Coca
bc0a0fb99c fix item var in delegation (#32986)
* fix item var in delegation

* fixed task ref

* in case no loop

(cherry picked from commit e19c994f57)
2017-11-21 14:52:18 -05:00
André Althaus
e208a522fe Scan group_vars/host_vars in sorted order
(cherry picked from commit a9b15ce881)
2017-11-21 14:47:39 -05:00
Brian Coca
aa98ffb7a8 make vars only group declarations an error
fixes #32860

(cherry picked from commit 3456bba631)
2017-11-21 14:40:59 -05:00
Brian Coca
36a3388a3a fix typo 2017-11-21 10:59:45 -05:00
Trishna Guha
b0404dbe39
ios_logging: change IOS command pipe to section to include (#33100) (#33116)
This improves compatibility with older IOS devices which do not
support "section" but "include" has been supported for a lot longer.
(cherry picked from commit a6e425e5a3)
2017-11-21 03:35:53 +00:00
andy-pi
9645c43c5e fixed .loads error for non decoded json in Python 3 (#32065)
* fixed .loads error for non decoded json in Python 3

* fixed .loads error Python 3.5 - refactor code to one line

* fixed .loads error python 3.5 - mod to use to_text instead of .decode as per reviewer comment

(cherry picked from commit 67d5e1d3e7)
2017-11-17 14:58:39 -05:00
Trishna Guha
8398de77b2
Fix nxos_snmp_host bug (#32916) (#32958)
* Fix nxos_snmp_host bug (#32916)

* Fix nxos_snmp_host bug

* Enable nxos_snmp_host tests

(cherry picked from commit 208208ab8f)

* update changelog

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-11-16 06:22:02 +00:00
Jordan Borean
eac4dc46f5 Updated changelog for win_iis_* modules things 2017-11-16 08:59:49 +10:00
Toshio Kuratomi
42b20ee8eb Fix typo 2017-11-15 13:51:22 -08:00
Adrian Likins
f68330acb2 Fix vault --ask-vault-pass with no tty (#31493)
* Fix vault --ask-vault-pass with no tty

2.4.0 added a check for isatty() that would skip setting up interactive
vault password prompts if not running on a tty.

But... getpass.getpass() will fallback to reading from stdin if
it gets that far without a tty. Since 2.4.0 skipped the interactive
prompts / getpass.getpass() in that case, it would never get a chance
to fall back to stdin.

So if 'echo $VAULT_PASSWORD| ansible-playbook --ask-vault-pass site.yml'
was ran without a tty (ie, from a jenkins job or via the vagrant
ansible provisioner) the 2.4 behavior was different than 2.3. 2.4
would never read the password from stdin, resulting in a vault password
error like:

        ERROR! Attempting to decrypt but no vault secrets found

Fix is just to always call the interactive password prompts based
on getpass.getpass() on --ask-vault-pass or --vault-id @prompt and
let getpass sort it out.

* up test_prompt_no_tty to expect prompt with no tty

We do call the PromptSecret class if there is no tty, but
we are back to expecting it to read from stdin in that case.

* Fix logic for when to auto-prompt vault pass

If --ask-vault-pass is used, then pretty much always
prompt.

If it is not used, then prompt if there are no other
vault ids provided and 'auto_prompt==True'.

Fixes vagrant bug https://github.com/hashicorp/vagrant/issues/9033

Fixes #30993

(cherry picked from commit 86dc3c09ac)
2017-11-15 14:07:39 -05:00
s-hertel
3b9b3b281e Add changelog entry for elb_application_lb fix 2017-11-15 13:59:34 -05:00
Toshio Kuratomi
466e4eb892 Add changelog for os_floating_ip fix 2017-11-14 11:11:12 -08:00
Matt Martz
df47cf43a0 Add changelog entry for #32219 2017-11-14 10:55:21 -06:00
Sam Doran
1379e77bf1 Add proper check mode support to the script module (#31852)
* Do not run script in check mode

Fixes #30676

* Reformat script integration test

* Add integration tests for check mode of script module

* Fix name on test

* Cleanup temp file

* win_script integration test syntaxt changes

* Add check mode tests for win_script

* Use proper variable in test

* Fail if source file does not exist

* Verify script is accessible and don't copy in check mode

Use shlex to properly split shell arguments, though a path with spaces in it still needs to be quoted in the playbook.
Add note to docs describing such.
Improve error message if file is not found indicating there may be a space in the path.

* Properly encode path now that path is split using shlex

* Allow for spaces in both path and script name

* Add unicode character test to Linux script tests

* Add Linux test for space in path to script

(cherry picked from commit ea3638b580)
2017-11-14 11:10:25 -05:00
Trishna Guha
f179adcf2c
fix dci failure nxos (#32877) (#32878)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit ceefeeb279)
2017-11-14 07:21:47 +00:00
Trishna Guha
0a43449391
nxos_config and nxos_facts - fixes for N35 platform. (#32762) (#32875)
* nxos_config and nxos_facts - fixes for N35 platform.  (#32762)

* update nxos_facts to handle errors in n35 platform

* switch show commands to output text

* replace basestring which is not supported in python3

* do it like the other modules: use string_types

* incorporate PR review

(cherry picked from commit 1360ae6518)

* update changelog

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-11-14 05:18:53 +00:00
Trishna Guha
4433544eb0
Fix snmp bugs on Nexus 3500 platform (#32773) (#32847)
* Add n35 platform support

* Fix regex bug and add snmp_location it tests

* Enable nxos_snmp_location tests

(cherry picked from commit de8d00b401)
2017-11-13 11:54:12 +00:00