Commit graph

33595 commits

Author SHA1 Message Date
Trishna Guha
0b0b02fd72 fix nxos_banner (#34695)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 303894dd17)
2018-01-15 10:40:17 -08:00
chriskarel
6e594340c2 Adding "-SyncWindow 0" flag to Compare-Object call (#34656)
Adding "-SyncWindow 0" flag to the Compare-Object call used to determine if the existing and proposed IP address lists are the same.  This makes the array comparison mark changes in order as a difference.

Fix for bug #34651

(cherry picked from commit bb9dcb0d2b)
2018-01-15 10:37:52 -08:00
Toshio Kuratomi
4eea0cec58 Add memory usage with includes optimization to changelog 2018-01-15 10:06:07 -08:00
James Cammarata
f1c458303a Backport of b107e397 (Cache tasks as they are queued)
* Cache tasks as they are queued instead of en masse

This also moves the task caching from the PlayIterator to the
StrategyBase class, where it makes more sense (and makes it easier
to not have to change the strategy class methods leading to an API
change).

Fixes #31673

* Cleaning up unit tests due to 502ca780

(cherry picked from commit b107e397cb)
2018-01-15 10:04:08 -08:00
Matt Martz
b971b87aa4 Add note to 2.4 porting guide about initial playbook relative host/group_vars and inheritance (#34769)
* Add note to 2.4 porting guide about initial playbook relative host/group_vars and inheritance

(cherry picked from commit ae49dd65d9)
2018-01-15 10:01:30 -08:00
Toshio Kuratomi
fe9019e646 Add cloudstack fix to changelog 2018-01-15 08:09:58 -08:00
Rene Moser
2df3f310fa cloudstack: fix timeout in ini config file is ignored
(partly cherry picked from commit 1c3bba0bdb)
2018-01-15 08:08:23 -08:00
Toshio Kuratomi
e2e64ed49c New release v2.4.3.0-0.4.rc1 2018-01-10 20:35:01 -08:00
Toshio Kuratomi
126576d430 Add ios_config deprecaation doc change to changelog 2018-01-10 20:28:10 -08:00
James Mighion
2ad755fca1 Ios config save (#33885)
* Fixing save so it still works. Adding changed as an option for save_when.

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

* Fixing removal version for deprecated options.

(cherry picked from commit ded4e6ac0f)
2018-01-10 20:24:53 -08:00
Matt Davis
79d1ba35ad
Cherrypick misc Azure test fixes (#34713)
* Fix test case failure for Azure ACS module (#33623)

* fix azure acs test failure

* change acs location

(cherry picked from commit 8e20ae2de4)

* fix azure test case failure for function apps module (#33658)

(cherry picked from commit f8d7e477f0)

* Fix storage endpoint for Azure Stack (#33946)

* Fix storage endpoint for Azure Stack

https://github.com/Azure/msrestazure-for-python/issues/64

* corrected visual indentation

(cherry picked from commit 6643fe821e)

* Fix incorrect formatting call in azure module (#33561)

Fix corrects formatting call in azure_rm_resourcegroup_facts module.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 6654d69569)
2018-01-10 13:27:52 -08:00
Adam Miller
ef0b705c08
Fix Linux blockdevice size computation (#34475) (#34647)
Linux' sysfs _always_ reports device size in 512b sector units,
regardless of the device's actual, physical blocksize.
2018-01-10 06:28:38 -08:00
Matt Clay
564e013534 Fix pylint issue. 2018-01-10 02:17:04 -08:00
Matt Davis
6f679b45de cherry-pick #34442 2018-01-09 23:29:31 -08:00
Matt Davis
bb9577418e
cherry-pick #33897 (#34682)
* resolved a number of conflicts
2018-01-09 23:25:50 -08:00
Trishna Guha
85a181e715
fix nxos_bgp failure for graceful_restart warning (#34630)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-01-10 10:50:40 +05:30
Matt Clay
02b1d90cf3 Make xattr test conditional on feature support.
(cherry picked from commit 77726b471f)
2018-01-08 23:57:50 -08:00
Jordan Borean
e2fa2526ae Updated changelog with win_iis_website fix 2018-01-08 10:28:27 +10:00
jn-bedag
61ec5c070a Fixing issue with win_iis_website parameter types. Issue #34500 (#34501)
* remidate Windows debugging

Using $complex_args is not working (anymore?). We need to set $params directly.

* Fixing issue with win_iis_website parameter types

There are two types of attributes. "String" and "Configuration Attribute". We need to get the real "value" based on the type.

* Revert "remidate Windows debugging"

This reverts commit df75d3bb0d152b10c24187ce4c643b4733bae336.

(cherry picked from commit 7f59f7d80e)
2018-01-08 10:27:41 +10:00
Jordan Borean
9a5bca5668 fix windows tests after recent patch (#34548)
(cherry picked from commit 460deb08cb)
2018-01-07 14:09:25 +10:00
James Cammarata
0b7d78d67f
Don't use getattr in _get_parent_attribute to avoid recursion issues (#33595) (#34532)
* Don't use getattr in _get_parent_attribute to avoid recursion issues

Fixes #23609

* Move extend/prepend to field attribute

Also removes _get_attr* methods that were basically just calling
_get_parent_attribute because it needed to set those params.

Also modifies _get_parent_attribute() to pull those values from the
FieldAttributes instead of using the ones passed into the function.

* Better fixes for _get_parent_attribute
2018-01-05 23:20:47 -06:00
Trishna Guha
cf31e47cdc
Make eos_vlan idempotent (#34503)
* make eos_vlan idempotent (#34443)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 0f24199012)

* Make eos_vlan idempotent CHANGELOG

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-01-05 18:35:59 +05:30
Toshio Kuratomi
1546ddb3c3 Fix up the test-set_mode_if_different unittests 2018-01-04 21:05:38 -08:00
Toshio Kuratomi
3b5e9522d2 Add changelog for checkmode with missing files 2018-01-04 20:36:26 -08:00
Pilou
ffd448e0ad If check mode enabled and file missing set changed to true 32676 (#33967)
* basic.py: add mock to os.path.exists

* set_*_if_different: if check_mode enabled & file missing: set changed to True

Fixes #32676
Thanks to mscherer and Spredzy for the distributed triplet programming
session!

(cherry picked from commit e9df2083a3)
2018-01-04 20:35:27 -08:00
Jordan Borean
5f329134c9 Updated changelog for win_mapped_drive doc update 2018-01-05 08:04:16 +10:00
Jordan Borean
91a0ea20c0 win_mapped_drive: add extra note around win_mapped_drive (#34478)
(cherry picked from commit edf56c9743)
2018-01-05 08:03:18 +10:00
Jordan Borean
a4418fffa2 Updated changelog for win_package fix 2018-01-05 07:14:27 +10:00
Jordan Borean
cb92c4bea1 win_package: remove case sensitive check for msi extension (#34476)
(cherry picked from commit da69f5aeae)
2018-01-05 07:13:18 +10:00
Brian Coca
2c53d012bc really disable inventory cache 2018-01-03 20:09:05 -05:00
yungez
3998a485bd add Azure user agent for Visual Studio Code extension (#33366)
(cherry picked from commit 392b55b70b)
2018-01-03 16:45:37 -08:00
Toshio Kuratomi
ccf10e95fc New release v2.4.3-0.3.beta3 2018-01-03 10:46:56 -08:00
Matt Davis
9a45611c02 backport WinRM IPv6 escaping
* https://github.com/ansible/ansible/pull/34072
* cherry-picked from 57ed6a866f
2018-01-03 09:31:35 -08:00
Martin Krizek
307b9b25ca Update CHANGELOG.md 2018-01-03 17:09:25 +01:00
Martin Krizek
888816b437 yum: case for multilib when installing from a file (#32236)
(cherry picked from commit 356901b72d)
2018-01-03 17:07:24 +01:00
Matt Davis
3a853fc9b8 fix win_firewall test failure on 2008/2008r2 (#34391)
* ensure that "starting" profile is known instead of relying on default
2018-01-03 05:36:40 -05:00
Matt Davis
266afc61b8
Update CHANGELOG.md 2018-01-02 20:43:12 -08:00
Matt Davis
cbc07cf9cc backport win_firewall_rule updates
from devel  SHA 89d9444ad560ef5c4a8aac911e2e7abcf7aa9c76
2018-01-02 20:38:00 -08:00
Matt Davis
8708105616 avoid use of Write-Host in config script
(cherry picked from commit 82996d5b267994d9806bbba62ceee2cd6613e9da)
2017-12-20 22:51:54 -08:00
Matt Davis
ae0d7da822 add GlobalHttpFirewallAccess arg
(cherry picked from commit a9ca0389b6cdf2992b04d6bafbd2cb3feb861d12)
2017-12-20 21:34:27 -08:00
Toshio Kuratomi
9dc4e0cec7 New release v2.4.3.0-0.2.beta2 2017-12-20 11:53:43 -08:00
Toshio Kuratomi
48a0cf1148 add cloudscale fix to the changelog 2017-12-19 14:31:39 -08:00
Gaudenz Steinlin
03eccdea19 Send API parameters as JSON in cloudscale_server module
Use JSON to send the POST data to the API instead of an urlencoded
string. Urlencoding is not really a good match for some Python
datatypes.

This fixes an issue when submitting a list of SSH keys which did not get
translated properly.

Partial cherry-pick of the important parts of 4c94c6f9ba.
2017-12-19 14:28:02 -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
Trishna Guha
284625f18c
NXOS Commit Integration tests to Ansible (part 2) (#28939) (#33964)
* add nxos_aaa_server IT

* add nxos_aaa_server_host ITs

* Add nxos_gir IT

* Add nxos_gir_profile_management IT

* add newly added tests to nxos.yaml

* fix nxos.yaml indentation

* fix indentation again

* skip nxos_git_profile_management IT for titanium

* change idempotency to non-idempotency check

(cherry picked from commit a130549ead)
2017-12-16 10:10:19 +05:30
Toshio Kuratomi
aa50818506 changelog for file attribute fix 2017-12-15 09:51:32 -08:00
Maxime de Roucy
86fbaffc07 fix file attributes changed detection
https://docs.python.org/2/library/stdtypes.html#str.split
str.split([sep[, maxsplit]])
If sep is given, consecutive delimiters are not grouped together and are deemed
to delimit empty strings.

>>> "85563      ----------------C-- /var/lib/libvirt/images".split(' ')[0:2]
['85563', '']
>>> "85563      ----------------C-- /var/lib/libvirt/images".split()[0:2]
['85563', '----------------C--']

(cherry picked from commit c2ac9d0831)
2017-12-15 09:50:29 -08:00
Jordan Borean
e95611980a update changelog for win_iis_webapppool for password fix 2017-12-15 09:53:33 +10:00
Jordan Borean
5dd40349b2 win_iis_webapppool: stop any passwords from being returned (#33931)
(cherry picked from commit 0ca828ebab)
2017-12-15 09:52:52 +10:00