summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New release v2.5.5v2.5.5Matt Davis2018-06-1411-10/+59
|
* Change falied_conditions to proper spelling (#41284) (#41418)Michael Doyle2018-06-141-1/+1
| | | (cherry picked from commit e892646bc779601f18c25fda9fbaf09331702e71)
* SUMMARY (#41560)Rosiney Gomes Pereira2018-06-141-3/+3
| | | | | | | | | | | | | | | | The module name, missmatch in documentation. ISSUE TYPE - Documentation COMPONENT NAME bigip_configsync_action ANSIBLE VERSION stable-2.5 Signed-off-by: Rosiney Gomes Pereira <rosiney.pereira@agilitynetworks.com.br>
* Don't retrieve config in running_config when config is provided for diff ↵Trishna Guha2018-06-1410-6/+108
| | | | | | | | | | | | | | | | | | | | | | | stable 2.5 (#41557) * don't retrieve config in running_config when config is provided for diff (#41400) * don't retrieve config in running_config when config is provided for diff Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fix for eos, nxos Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * add integration test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 8ab0d654f3eb44c715af8d8701eb3246d2abf419) * add changelog Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Fix typos in blocks documentation examples. (#41508) (#41524)Jordan Borean2018-06-141-4/+4
| | | (cherry picked from commit a4f49ed64899630946209d643bb84255f279e284)
* Tasks that are expected to fail need to begin with a special string (#41466)Toshio Kuratomi2018-06-141-1/+1
| | | (cherry picked from commit a5fd86cf6d62bb6ecb624edfc0b3775705e46f06)
* Fail with nice error message if elb target_type=ip not supported (#38313) ↵Will Thames2018-06-149-88/+135
| | | | | | | | | | | | | | | (#41430) * Add helpful failure message if target_type=ip is not supported Create test case for target_type=ip not supported * Update elb_target_group module to latest standards Use AnsibleAWSModule Improve exception handling Improve connection handling (cherry picked from commit 29770a297ae19f0041c8daa6018747641d8e6ac8)
* Update docs on import/include tasks (#33032) (#41406)Sam Doran2018-06-141-20/+8
| | | (cherry picked from commit 30da71d880165b34dd601ea0ac61325eef749627)
* Fix rabbitmq_user when using force on user with permissions (#41361)Sylvain Rabot2018-06-141-1/+1
| | | | | | | | | | | | | | | | | | On rabbitmq 3.7 using `force: yes` fails because outputs of rabbitmqctl gives an empty line ``` root@rabbitmq-vm1:~# rabbitmqctl -q list_user_permissions john root@rabbitmq-vm1:~# ``` Provoking an error on https://github.com/ansible/ansible/blob/456af458fcc6dfe29b89b8ab5a88ad1baea2fbe9/lib/ansible/modules/messaging/rabbitmq_user.py#L185 Because `perm.split('\t')` does not find any `\t` Signed-off-by: Sylvain Rabot <s.rabot@lectra.com> (cherry picked from commit 8ddca3e6cfd906f0ff48a2c08410a9f82d195deb)
* Make admin_users only contain root and toor because admin is used for ↵Toshio Kuratomi2018-06-142-2/+7
| | | | | | | | | | | non-privileged accounts (#41352) This fixes one specific instance of failure to chown from a privileged account: https://github.com/ansible/ansible/issues/16052#issuecomment-384976615 Fixes #41160 (cherry picked from commit 461a2733e6962c6c61a6042e25a0b0d3fbec1b7f)
* first_found: fix examples to match the code (#40821) (#41328)Martin Krizek2018-06-141-13/+17
| | | (cherry picked from commit 23a337918c5004dffd8ce50818bd1b8b165cc107)
* Fix typeo in param name (#41287) (#41325)Sam Doran2018-06-141-1/+1
| | | (cherry picked from commit effa235eb67bef44389d5e141dcc0abfa8b9b492)
* cloudfront_distribution: fix the order of headers to avoid updates again and ↵Julien Vey2018-06-142-5/+11
| | | | | | | | | | again (#37340) * Fix python2/3 compatibilities issues * Sort cloudfront_distribution headers to avoid useless updates (cherry picked from commit ec2e0279807729b04dbaaf6477758fa6f75c10ff)
* Update winrm.py (#41303) (#41305)Jordan Borean2018-06-141-1/+1
| | | | | fix the typos for winrm port (cherry picked from commit 7fb92b6f457a03357641799bf67c45b8e136df4e)
* Bkprt nolog fix (#41453)Toshio Kuratomi2018-06-123-1/+37
| | | | | | | | | | | | | * no_log even when task_result doesn't provide key - now also checks task property - added reproducer to tests for unreachable status on item loop (cherry picked from commit 336b3762b23a64e355cfa3efba11ddf5bdd7f0d8) * Add changelog entry for the no_log fix (cherry picked from commit 5fdd101a3e4861f8bedaf4c5bd29ee1cf4d8514b)
* fixed prerelease support in deb packagingMatt Davis2018-06-121-3/+3
| | | | (cherry picked from commit 0371e7c8663e5fbfbffcf02b82a716c1481bcaed)
* Fix nxos_l3_interface no switchport issue with loopback and svi interfaces, ↵Trishna Guha2018-06-114-4/+7
| | | | | | | | | | | | | | | | | nxos_snapshot issue (#41318) * Fix nxos_l3_interface no switchport issue with loopback and svi interfaces Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Fix nxos_snapshot compare (#41386) Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 1998707eda3ac0e4a941c098473ffde78b78b6c4) * changelog nxos_snapshot Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Fixes eos_logging idempotence CP into 2.5 (#40931)Nilashish Chakraborty2018-06-073-15/+96
| | | | | | | | | | | | | | | | | | | | * Fixes eos_logging idempotence issue #31862 (#40604) * eos_logging idempotence fix * fixed eos_logging idempotence issue * Fixed pylint and pep8 errors * Added tests for eos_logging & minor fix * Removed q statements (cherry picked from commit b9ea6468398d23c4b9c39f0c91cd79bf0b61af5d) * Added changelogs for eos_logging idempotence fix * changelog tweak
* 2.5 backport #40826 to fix async for aws_s3 (#41276)Sloane Hertel2018-06-073-2/+31
| | | | | | | | | | | | * cherry-picked from 89cea78e3002c816157e604c73e7eb4db137b107 and fixed merge conflicts from restructuring the integration tests in devel Fix async for aws_s3 Add a test that async is able to be used on aws_s3 tasks (cherry picked from commit cef92e3942cdd76866c47d25f903625e6d7eb6ed) * changelog format tweak
* Add some dots at the end of sentences (#41176) (#41226)Jordan Borean2018-06-071-4/+4
| | | | | | | | See e.g. https://docs.ansible.com/ansible/devel/reference_appendices/config.html#default-scp-if-ssh In the docs the list of strings is just concatenated without additional interpunctuation. +label: docsite_pr (cherry picked from commit edb1735ca07059a3b644867045f70f9f4ee63edd)
* Fix ec2_ami block_device_mapping volume_size to be int in 2.5 (#40938) (#41217)Will Thames2018-06-072-5/+10
| | | | | | | | | | | | | | | | | | | * Fix ec2_ami block_device_mapping volume_size to be int in 2.5 (#40938) * fix ec2_ami block_device_mapping size to be int * fixed cr issues renamed `type` to `attribute_type` reused `new_item` instead of creating new variable `value` (cherry picked from commit ab96a841542478189a6195a05ff748565613056f) * changelog (cherry picked from commit e6cd727181cb6c7e08f9cbad44dc7d625e78406a) * changelog format tweak
* aws_s3: don't decrypt file before uploading - fixes #39287 (#39634) (#41205)Sloane Hertel2018-06-072-1/+4
| | | | | | | | | | | | * aws_s3: don't decrypt file before uploading - fixes #39287 (#39634) * aws_s3: do not decrypt file before uploading to bucket * changelog (cherry picked from commit 387c37e255393ad68c4a80c9a304b14aeee02d91) * changelog format tweak
* Docs fix: ansible_group_priority defaults to 1 (#41204)Brian Coca2018-06-071-1/+1
| | | | | | | | | The docs committed in #28777 were inconsistent. This clarifies that the default `ansible_group_priority` is `1`.[1][2] [1] https://github.com/ansible/ansible/blob/153c9bd/lib/ansible/inventory/group.py#L40 [2] https://github.com/ansible/ansible/blob/153c9bd/lib/ansible/cli/inventory.py#L236 (cherry picked from commit 4fa2fb9c8963f1873fe20f365f43ebaa1e2db613)
* Do not gather mem facts if command invalid (#40820) (#41141)Nathaniel Case2018-06-072-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Do not gather mem facts if command invalid (#40820) * Do not gather mem facts if command invalid In some firmwares, 'show memory statistics' fail, thus do not populate mem if we got a failure after running that command. * Fix pep8 * Warn if got error when running 'sh memory statistics' * Fix pep8 (cherry picked from commit 669949e6a3abf2e58e85aee4fc742e6bb8db9f6c) * Update ios_facts.py (#40928) Account for upper/lower case match occurrences of "[Nn]umber" and "[Ss]erial" Model Number : WS-C3850-12X48U System Serial Number : <removed> (cherry picked from commit 12d221152bf5d8a9727493697b81bf739f58cc7e) * Expand ios password prompt regex (#41131) (cherry picked from commit 49fddb6f2875b8de3e287f1af5da3c588dcf6d12)
* Fix ios_logging idempotence CP into 2.5 (#41120)Nilashish Chakraborty2018-06-073-46/+75
| | | | | | | | | | | | | | | | * Fixes to ios_logging (#41029) * Logging size may not show up in config * This is much simpler * Avoid repetition in tests * Both options of buffered are optional (cherry picked from commit 92a95368fe5246456a4bad9e133c930e3eff435f) * Added changelog
* 2.5 backport #40720 - fix cache timeout behavior (#41018)Sloane Hertel2018-06-072-1/+3
| | | | | | | | * Fix cache timeout behavior (cherry picked from commit c1400ce9091a6fcf2c2db465b5c1fbd01cce9447) * changelog
* dictionary changed size during iteration error (#37454) (#41000)Gaudenz Steinlin2018-06-071-1/+5
| | | | | Iterating an object and changing it at the same time is unsecure and no longer permitted in Python >= 3.6 Provisioning an instance fail with the Python error: "RuntimeError: dictionary changed size during iteration"
* os_server_action: Document the python-novaclient requirement (#40841)Jesse Pretorius2018-06-071-0/+1
| | | | | | Without also installing the python-novaclient library, this module simply does not work. Fixes: #35484
* Correct the OpenStack plugin example config (#40766)Jesse Pretorius2018-06-071-5/+3
| | | | | | | | | | The current example configuration is not quite right, so this patch implements a fix which corrects it The 'inventory_hostname' argument is removed as it's the same value as the default. (cherry picked from commit 12218f33a5c429676da8f3db0f91553c63a0314f)
* os_project_access: clean up some things (#40763)Jesse Pretorius2018-06-071-9/+2
| | | | | | | | | | | | | | | | * os_project_access: correct example tasks The example task does not work. Fix it so that it does. (cherry picked from commit 028b5965b66656ffe7810cea3bcc0e505339ebc2) * os_project_access: Remove unused function The _get_allowed_projects function is not used anywhere, so we can remove it and be free of nova_client for this module. (cherry picked from commit c190a2826d6935848278867c67f36f2b56728f94)
* os_server: Remove nova_client usage (#40765)Jesse Pretorius2018-06-071-4/+6
| | | | | | | | The os_server module uses the deprecated nova_client function, and therefore ends up requiring python-novaclient installed. In this patch we switch the ip detachment to make use of a shade function, removing the need for python-novaclient. (cherry picked from commit 055d89cd32385fa891e17a24aadc2c68397f307d)
* Make alias autodetection for symlinked modules independent of glob() order. ↵Alicia Cozine2018-06-071-1/+1
| | | | | (#40293) (#41266) (cherry picked from commit 2a29b2ff7f0cbda712e88331b6f98a5e226000c0)
* Better error message if the template is not utf-8 encoded (#41030) (#41265)Alicia Cozine2018-06-072-1/+10
| | | | | | * Better error message if the template is not utf-8 encoded Also document this in the porting guide (cherry picked from commit cef4d862bc944fbcab082f2710575f2c14c7cd54)
* fix nxos output truncated issue and nxos_banner issue (#40962)Trishna Guha2018-06-074-2/+16
| | | | | | | | | | | | | | | | | | * fix nxos output truncated issue Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * add changelog Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fix nxos_banner issue (#41026) (cherry picked from commit b6afb77a8af69fff4f99897e87151cebd6fa40d3) * add changelog for nxos_banner fix Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* winrm: fix up unit tests (#41112) (#41211)Jordan Borean2018-06-062-131/+133
| | | (cherry picked from commit ad8e13e9f88385657755a5505d27f494b96ee7c9)
* Backport/2.5/39948 (#41094)Alicia Cozine2018-06-064-220/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix formatting error in rst plugin template (#38956) The hyperlink syntax used is wrong and the resulting rendered documents have broken links. (cherry picked from commit aaf2ff629d591a482aa9c877f549eab64b67b8f1) * Add missing > to fix 'edit this document' link (#39067) (cherry picked from commit ebdf6d0fab35f5128c9c205d70b3c40fa5a53b9a) * Fix problems in documentation generation (#40050) * Treat C(...) as inline literal (as opposed to interpreted text). * Making test for true and false more precise, to avoid matching 1, 1.0, etc. * The 'is sameas' test already takes care of definedness. (cherry picked from commit f16933492dc96d10929dfe2158588f66b862f4e2) * Namespace the aliases ref target by plugin type (#38925) (cherry picked from commit 7ce1afebf04faa0dec0def68327ef0242054dede) * Use colspan on td instead of divs for hierarchical tables (#39948) Address Firefox table-rendering issues in docs. Refactor to use colspan to provide table cells which can vary in width and indentation; the outermost has the greatest colspan, and each nested key has a colspan of one less than the parent, with padding cells for indentation. Apply styling to table cells to get the table height to work without hacks or browser-specific styling. Simplify the markup and CSS by removing extra divs. Use two passes over the options, return values, and return facts in the Jinja2 module-docs template: one to determine the maximum nesting depth to compute the maximum colspan needed, plus one to lay out the rows. (cherry picked from commit fa5c0282a4816c4dd48e80b983ffc1e14506a1f5)
* add codename to release.pyMatt Davis2018-05-311-0/+1
|
* bump to pre-2.5.5Matt Davis2018-05-311-1/+1
|
* New release v2.5.4v2.5.4Matt Davis2018-05-316-7/+65
|
* Backport #40833 for 2.5 - synchronize _remote_is_local (#40917)Matt Martz2018-05-303-0/+21
| | | | | | | | | | | | | | * Use _remote_is_local=True for local connection in synchronize (#40833) * All instances of local connection should use _remote_is_local=True. Fixes #40551 * Switch to instance attribute for synchronize * Add test that shows that synchronize _remote_is_local addresses tmpdir building (cherry picked from commit ad7ba91f75570152c538a48b9f7ab865943bdc62) * Add changelog entry for #40833
* remove extra )Brian Coca2018-05-302-1/+3
| | | | (cherry picked from commit 062f0444a1c48bc3c24c00ba4150cfa9fac1d05d)
* added information on keyword/vars separation (#39561) (#40895)Brian Coca2018-05-301-0/+16
| | | | | | | | | * added information on keyword/vars separation fixes #39551 * updated as per fb (cherry picked from commit bc930389430e2549acbc8da5e89066350e91f4ee)
* fix 'doas' become_method support, previously committed patch not submitted ↵Brian Coca2018-05-303-3/+4
| | | | | | | | | | | to devel branch (#37511) (#40896) * fix become_method 'doas' support by properly specifying becomecmd a repatch of https://github.com/ansible/ansible/pull/13451/ which was never committed to 'devel' branch. * fix play_context test for become_method doas to match new becomecmd (cherry picked from commit be3670f5285a4eebfa5b4947806618cab59d969c)
* add keywords handling to ansible-doc (#40908)Brian Coca2018-05-302-6/+10
| | | | | also add check for sequence of string types before we force a join (cherry picked from commit 73b98926052ee62b7df2c91916b6961e77ff74dc)
* Fix broken aws_ses_identity test - backport #39560 (#40350)Sloane Hertel2018-05-304-124/+125
| | | | | | | | | | | | | | | | | * Fix failing aws_ses_identity integration tests (#39560) * Fix failing aws_ses_identity integration tests Reduce boilerplate with yaml anchor * remove unstable test alias * Update feedback forwarding check to use desired state rather than repeated API calls. (cherry picked from commit 571c183f598845000ae4d8c1d04a53343734e42b) * changelog
* use correct object in errorBrian Coca2018-05-302-1/+3
| | | | | | fixes #40453 (cherry picked from commit 0339c8037bbb3f18642da479e765a966b327b7be)
* Fix FreeBSD package install in test setup.sh.Matt Clay2018-05-301-0/+3
| | | | (cherry picked from commit c3d3b6cedc2a207c41c7e4297ecca4329dc8dc8e)
* adds table of connections by platform (#40688) (#40830)Alicia Cozine2018-05-301-0/+33
| | | (cherry picked from commit 43ca9d15488a7ebb801e29b67bcb8f06507a255f)
* nxos bugfixes 2.5.4 cherry-pick (#40861)Trishna Guha2018-05-3023-311/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix legacy Nexus 3k integration test and module issues. (#40322) * Add setup ignore_errors for nxos_config test * Fix parse_fan_info for n3k * Skip bidir tests for N3k * Omit vni config for n3k * Skip unsupported nxos_vrf_af test on N3K * Add legacy N3K platform tag (cherry picked from commit 63e16431b7e08d85bd9846a504f63e0d2442a1a8) * Skip N35 and N3L platforms for nxos_evpn_global test (#40333) (cherry picked from commit ad69ef88e7e67d54e42ce8e9ceae4ceaf8c09be5) * add normalize_interface in module_utils and fix nxos_l3_interface module (#40598) Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 0b7932db3000d58303462a6d1ff061adeff3c243) * nxos_interface: Disable switchport for loopback/svi (#40314) * nxos_interface: Disable switchport for loopback/svi * Replace interface_type with get_interface_type(name) (cherry picked from commit d04a989bd28b625747664064b8c8f58597b0f575) * fixes bug with matching nxos prompts (#40655) This change addresses an issue where the prompt matching regular expressions would not match a prompt if the hostname starts with a numeric value. Before this change, the connection would fail with a socket.timeout() error. This change updates the termnal_stdout_re values to now check for a number. See Github issue #38639 (cherry picked from commit d829ff6993aa3a7e8123d2188ab04f4bfd88c1d0) * fix nxos_vrf and migrate get_interface_type to module_utils (#40825) Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit b4baa2d48455029cfe35b14195b2ca4616e540ac) * nxos_vlan fix Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * changelog nxos bugfixes 2.5.4 Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Fix #26755 by ensuring that the first nic in the nic list is primary ↵Yuwei Zhou2018-05-292-10/+16
| | | | (#38994) (#40781)