Commit Graph

44164 Commits (688409128aeea286a8f3186842ce86d5702f95d0)
 

Author SHA1 Message Date
Christian Alexander 688409128a docs(lineinfile): fix typo inserbefore -> insertbefore (#54788) 5 years ago
Mikhail Yohman 10c5e26ce8 New Module: netbox_prefix.py (#49902)
* Re-do of netbox_prefix

* Updated netbox_utils to catch AttributeError within create_netbox_object

* Fixed PEP issues
5 years ago
Martin Krizek d15812fabf
Fix copy module to reset filesystem acls (#51868)
The controller's fixup_perms2 uses filesystem acls to make the temporary
file for copy readable by an unprivileged become user. On Python3, the
acls are then copied to the destination filename so we have to remove
them from there.

We can't remove them prior to the copy because we may not have
permission to read the file if the acls are not present. We can't
remove them in atomic_move() because the move function shouldn't know
anything about controller features. We may want to generalize this into
a helper function, though.

Fixes #44412

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
5 years ago
Nilashish Chakraborty 40507220b4
asa: Not all modules will have 'passwords' and 'context' keys (#54783)
* Add a check of passwords

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>

* Add caution for context key as well

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>

* Update lib/ansible/module_utils/network/asa/asa.py

Co-Authored-By: NilashishC <nilashishchakraborty8@gmail.com>

* Update lib/ansible/module_utils/network/asa/asa.py

Co-Authored-By: NilashishC <nilashishchakraborty8@gmail.com>
5 years ago
Zim Kalinowski 4f0ad57934 renaming info -> facts (#54573) 5 years ago
Ondra Machacek 8940da9b46 ovirt_host: add activate parameter (#54594) 5 years ago
Yunge Zhu a387b8e239
add vnet peering facts module (#53942) 5 years ago
Mikhail Yohman 0b1470a3c9 Netbox site module (#53219)
* Created netbox_interface module and updated netbox_utils

* Fixed PEP issues and documentation issue for ASN type

* tenant API endpoint doesn't support slug currently, changed to name, fixed user issue

* Updated documentation to include types

* Updated argument_spec to include required sub options of data

* Fixed formatting of argument spec - missing parenthesis in data options

* Fixed syntax error

* refactored to use shared functions create()/delete()/update()

* Fixed PEP issues
5 years ago
zhongjun2 eb7735000e Fix typo (#54770) 5 years ago
Trishna Guha 6155701e36
Add type of group in nxos_linkagg module doc (#54769)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Mariusz Mazur 0acef98dc4 kubevirt_cdi_upload: add more error handling (#54041) 5 years ago
Matt Clay 9e30300034 Add 6th Windows CI group. 5 years ago
Zim Kalinowski 73286ceca5 fixing azure_rm_devtestlab* test (#54716) 5 years ago
Zim Kalinowski 138fc11ee0 fixing role definition test (#54715) 5 years ago
Nilashish Chakraborty ee08b009dd
Make prompt inspection explicit for IOS (#54324)
* Be explicit with prompt inspection

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>

* Use regex to evaluate prompt for sub-level config sessions

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>

* Add new line at the end of file

Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
5 years ago
b-abadie 70f315b7a4 network, eos_config: when the config session show no diff, set 'changed' to False (#54678) 5 years ago
Ganesh Nalawade d100faedb3
Add check to log jsonrpc request/response (#54606)
Fixes #54605

Add check in ansible-connection to check if persistent
log message is enabled, if yes log the jsonrpc request
in log file.

With the current approach the _messages queue in `NetworkConnectionBase`
is getting overwritten and response for `pop_message` api inovcation from
ansible-connection is not recevied at the module side.
5 years ago
Fred-sun 3694711a7e Update azure_rm_managed_disk.py --add zones (#53788) 5 years ago
Matt Clay c8f2becb7a Reduce testing of Ubuntu versions.
Removing:

- Ubuntu 14.04 with Python 2.7
- Ubuntu 16.04 with Python 3.5

Keeping:

- Ubuntu 16.04 with Python 2.7
- Ubuntu 18.04 with Python 3.6
5 years ago
Felix Fontein c82c33f6ce docker_image: fix KeyError and docs copy'n'paste error (#54732)
* Avoid KeyErrors.

* Fix docs.

* Fix key checks.
5 years ago
Jordan Borean e56fb48873
psrp - auth options (#54705) 5 years ago
Steve Bonds 524160d8d1 Fetching a test file, not the motd file (#54739) 5 years ago
Jordan Borean b13fa0d408
Ansible.Basic - event log perm fix and no_log improv (#54699)
* Ansible.Basic - event log perm fix and no_log improv

* Still log other failures
5 years ago
Yuwei Zhou 064d89a850 Update create_with_nsg documentation (#54441) 5 years ago
Sebastian Meyer a8474ba91f Add package requirements for openSUSE for nmcli (#54489) 5 years ago
Jordan Borean 7da6088ec5 bump roadmap dates 5 years ago
Jordan Borean 8b1b22ddc7
Bump dependency versions to avoid conflicts (#54443)
* Bump dependency versions to avoid conflicts

* Fix module code to support newer SDK packages

* Fix keyvault module are upgrading deps
5 years ago
dthvt ea2fa07e23 AnsibleModule uses supports_check_mode (#54629)
<!--- Your description here -->

Looks like AnsibleModule uses supports_check_mode, not check_mode.

+label: docsite_pr
5 years ago
The Magician 696e9c1462 Bug fixes for GCP modules (#54706) 5 years ago
The Magician 08d2545883 Bug fixes for GCP modules (#54707) 5 years ago
Toshio Kuratomi b03c16fa8b
Paramiko might not come standard everywhere (#54486)
* Paramiko might not come standard everywhere

There is a platform where paramiko isn't shipped but a special version
of paramiko just for our use is shipped.  This code imports paramiko
from that location.
5 years ago
Andrew Greenwood 48c7501768 Add vault version 1.2 details (#50958)
Adding some details on the version 1.2 vault format assists in understanding how labelled vault-id works.

+label: docsite_pr
5 years ago
Andrey Klychkov 40f65a54ec Postgresql privs reformat (#54717)
* postgresql_privs: fix doc format, pgutils

* postgresql_privs: added pgutils, ret value

* postgresql_privs: fix test

* postgresql_privs: fixes

* postgresql_privs: fixes

* postgresql_privs: fixed CI
5 years ago
Mariusz Mazur 7ea01da38f kubevirt_rs: new wait logic (#54726) 5 years ago
Alan Rominger 2c169e0baf correct example since per_host default is false (#54725) 5 years ago
Sam Doran 579e72573a Add BusyBox support to group module (#54689)
* Add BusyBox support to group module

* Use bytes when reading/writing to file
5 years ago
tnisan fbaa6c33ca ovirt_disk: Support Hosted Engine content types (#54328)
Signed-off-by: Tal Nisan <tnisan@redhat.com>
5 years ago
Felix Fontein daf3f077c5 Add maintainer for docker_compose. (#54703) 5 years ago
René Moser 07a0954957
botmeta: add huawei team (#54651) 5 years ago
René Moser 8f65c4f8d5
vultr: fix missing encoding header (#54696) 5 years ago
Zim Kalinowski d760b400af more doc improvements (#54649) 5 years ago
Matt Clay d01c1599b0 Remove redundant requirements from test. 5 years ago
Jordan Borean c40f41d519
win_credential - fix encoding for text based secrets (#54695)
* win_credential - fix encoding for text based secrets

* Fix py2 encoding issues
5 years ago
Steve Bonds 95e5f89089 Clarify source of the host name (#54693)
The host could have been either the inventory name (`inventory_hostname`)
or the discovered hostname (`ansible_hostname`)

Inspecting the source code of `fetch.py` shows that the
inventory name is preferred.

```
if 'inventory_hostname' in task_vars:
                    target_name = task_vars['inventory_hostname']
```
5 years ago
Jose Delarosa c9d183f1f7 Add new Redfish config module to handle Dell-specific OEM extensions (#54359)
* Add new Redfish config modules to handle Dell-specific OEM extensions

- Extends the existing RedfishUtils class and leverages its methods

* Removed extra password key

* Add timeout parameter

* Updates to DOCUMENTATION section

- Removed version_added from several parameters
- Added type to category parameter
5 years ago
Jose Delarosa 4890c69a3d Add new Redfish facts module to handle Dell-specific OEM extensions (#54360)
* Add new Redfish facts module to handle Dell-specific OEM extensions

- Extends the existing RedfishUtils class and leverages its methods

* Add timeout parameter

* Removed version_added for timeout paramater
5 years ago
Christopher Schmitt cafd124288 Add ssh key facts for hcloud (#54518)
* Add ssh_key facts

* Fix documentation
5 years ago
Jose Delarosa 7ddddeb801 Fix error with get_manager_nic_inventory method (#54553)
* Fix error with get_manager_nic_inventory function

- Function was not updated when code to handle multiple systems was added

* More elegant way to put self.manager_uri in a list
5 years ago
David Passante aa2427573b cs_vlan_ip_range: Update return values documentation (#54677)
* cs_vlan_ip_range: Update return values documentation

* add missing start/end_ipv6 return values to the doc
5 years ago
Lukas Kämmerling 72f1e4b83a Add hcloud_volume_facts (#54666)
* Add hcloud_volume_facts

* Fix server name
5 years ago