Commit Graph

44360 Commits (9bd060292ed1fc3b3abe65209200d30f47e0bfc2)
 

Author SHA1 Message Date
Tyler Schwend daca7fa584 fix: return a list, specifically (#54537)
tags.keys() returns a list of the keys, sure. But in Python 3 it's a 
"dict_keys" class, and BOTO is expecting a list. So let's make this work 
in Python 3.

list(tags) returns a list of the keys in Python 2 and Python3. That 
seems to be what we want.
6 years ago
Jordan Borean 10a9cf59dd
Added win_http_proxy and win_inet_proxy (#54631)
* Added win_http_proxy and win_inet_proxy

* Fix up docs sanity issues

* removed duplicate doc entry

* Fix docs issues and fix for empty proxy

* Removed <-loopback> for win_http_proxy

* doc changes from review
6 years ago
psharkey a39051067b Adding support for memcached1.5 and redis5.0 parameter group families. (#54571) 6 years ago
Toshio Kuratomi 6a5d6a56f5 Update Ansible release version to v2.8.0a1.post0. 6 years ago
Toshio Kuratomi ae667d3d86 New release v2.8.0a1 6 years ago
Dag Wieers e6aff4dc3b Reduce ansible/ansible README to essentials (#52878)
* Reduce intro to essentials
6 years ago
Felix Fontein 14b3b3a95e openssl_certificate now has cryptography backend (#53924). (#54880) 6 years ago
Felix Fontein 8cba1f9397 docker_network: add IPAM driver options support (#54632)
* Tidying up.

* Adding ipam_driver_options parameter.

* Add tests.

* Add changelog.
6 years ago
Matt Clay f0480ab132
Fix timezone test for newer Fedora containers. (#54874) 6 years ago
Artem Goncharov d0745ed6a2 add support for specifying volume metadata (#48081)
add possibility to specify metadata (properties) to be set on the volume
6 years ago
Alan Rominger aa3f010e62 optionally get service account file path from env var (#54407) 6 years ago
Alicia Cozine a4d0bc2c43
Shortens Scenario Guides, incorporates vmware guide (#54554)
* Shortens Scenario Guides, incorporates vmware guide

* adds links from network scenario guides to other network docs
6 years ago
Brian Coca bda541fa0d
fix missing attribs with dirct module execution (#53875)
* fix missing attribs with dirct module execution
* also make remote tmp handling smarter
 update tests
* set default if attrib does not exist
* add simple test
6 years ago
Bharat Kunwar c6ed5b314d Correctly update tags when os_stack invokes update_stack (#53757)
* Fix removal of tag when os_stack invokes update if a stack already exists.

* Add warning if a tag is provided and openstacksdk version is less than 0.27.0

* Fix pep8 errors

* Bump min_version up to 0.28.0
6 years ago
Andrey Klychkov 2fbac8948d postgresql_idx: added CI tests for check_mode, rewrite code related with check_mode, misc fixes (#54848)
* postgresql_idx: added CI tests, misc fixes

* postgresql_idx: fix sanity
6 years ago
Monty Taylor 6a10c2a5f4 Add Artem Goncharov to openstack team (#54850) 6 years ago
Mariusz Mazur d8bddc0d22 Modify kubevirt_vm crud/wait logic (#54404)
1. Adds proper wait support for VM stops and starts
2. Detect https://github.com/kubevirt/ansible-kubevirt-modules/issues/177
   and return a sane error
3. Switch to openshift-restclient 0.9.x style wait code
6 years ago
Andrey Klychkov 3eff72e886 postgresql_user: fix doc formatting, added return value, aliases, misc code changes (#54768)
* postgresql_user: refactoring

* postgresql_user: removed line from ignore.txt

* postgresql_user: removed lines from ignore.txt

* postgresql_user: removed lines from ignore.txt, fixes

* postgresql_user: removed lines from ignore.txt, fixes

* postgresql_user: removed lines from ignore.txt, fixes
6 years ago
zhongjun2 d16452bc8f Added smn module (#54793) 6 years ago
Daniel Hagan e114d06801 Minor formatting fix in developing_modules_documenting.rst (#54785)
* developing_modules_documenting.rst - fix formatting error

* developing_modules_documenting.rst - remove errant whitespace from last commit
6 years ago
Martin Nečas 72b6a8d36e Ovirt instance type module (#54782)
* init ovirt instance type

* create ovirt instance type docs

* ovirt instance type add exampeles

* ovirt instance type update exmaple

* update instace type docs
6 years ago
Bill Dodd 671df7f3c7 include Redfish extended error message if available (#54480) 6 years ago
Matt Clay 51829303d2 Rebalance Azure tests. 6 years ago
Jagadeesh N V 6380a6c1df Added idrac_server_config_profile (#53509)
* Added deelemc_idrac_server_config_profile

* Update dellemc_idrac_server_config_profile.py

numbering for string concat

* Update dellemc_idrac_server_config_profile.py

git comments corrected

* Update dellemc_idrac_server_config_profile.py

contribution review comments

* Update dellemc_idrac_server_config_profile.py

updated correct version

* Update dellemc_idrac_server_config_profile.py

short description updated with term iDRAC

* Update dellemc_idrac_server_config_profile.py

pwd to password

* removed prefix dellemc_

* revereted password to pwd

idrac_password to idrac_pwd

* changed pwd to password
6 years ago
Xander Madsen 840ceb2777 Add GetMemoryInventory command to Systems category in redfish facts module (#54125)
* Add GetMemoryInventory command to CATEGORY_COMMANDS_ALL['Systems']

* Add elif command == GetMemoryInventory to Systems category, to use forthcoming get_memory_inventory() function from redfish_utils

* Add get_memory_inventory() function to redfish_utils.py, which does not include any Absent dimms

* Remove trailing whitespace

* Add get_multi_memory_inventory() function to aggregate get_memory_inventory

* Call new function get_multi_memory_inventory()

* Add memory example in docstring

* Fix comment referring to CPUs instead of DIMMs
6 years ago
Matt Clay 414ac12ddd Add work-around for scp issue in tests. 6 years ago
Felix Fontein 7b49fa783f Add felixfontein as notified for ufw module. (#54808) 6 years ago
Adam Miller 0235e3d664 splunk httpapi plugin (#52761)
* splunk httpapi

Signed-off-by: Adam Miller <admiller@redhat.com>

* use he correct var to send the payload to the request

Signed-off-by: Adam Miller <admiller@redhat.com>
6 years ago
Zim Kalinowski 69ca89858c
Renaming azure_rm_managed_disk for consistency (#54825) 6 years ago
zhongjun2 c5f666907e Update hwc_network_vpc.py (#54829) 6 years ago
Sam Doran 6ce9cf7741
Change default smart connection to ssh on macOS and remove paramiko from requirements.txt (#54738)
* Remove default use of paramiko connection plugin on macOS
    This fix was originally to work around a bug that caused a kernel panic on macOS
    that has since been fixed.
* Remove paramiko from requirements.txt
* Move paramiko checking to common place
* Drop the warnings obfiscation code
* Update pip installation instructions to reflect upstream instructions
* Fix tests on CentOS 6 (Python 2.6) that now show Python deprecation warnings
* Add changelog fragment
6 years ago
Matt Clay 9776037abe Disable failing azure_rm_webapp test. 6 years ago
Daniel-Sanchez-Fabregas 570da1bae6 Support cross-domain on win_domain_computer module (#54774)
* Support cross-domain on win_domain_computer module

* Fix documentation false typo 'seealso'
6 years ago
Twenix83 2b423a3829 Corrected spelling mistake (#54775)
Corrected spelling mistake
6 years ago
Claes Nästén 339f6cfcd1 NSO modules now work as expected with NSO 5.X (#54766)
Update NSO modules for NSO 5.0 which change how prefix mapping is made
as a single prefix can have multiple meanings depending on device
being managed
6 years ago
Ondra Machacek 919b19f18d kubevirt_vm: Fix the default label (#54772) 6 years ago
Felix Fontein e422f18898 acme_certficate: allow to write files to CWD (#54754)
* Allow to write files to CWD.

* Add changelog.
6 years ago
Kris Amundson f9dfb78d3c Netbox Inventory: Group By Platforms (#52780)
Fixes the functionality to group_by 'platforms'. Adds the call to self.refresh_platforms_lookup
back and fixes square brackets to return a list instead of a string.
6 years ago
Daniel Hagan c11af3dbef correct openssl rsa to genrsa in acme doc fragment (#54744)
* correct openssl rsa to genrsa in acme doc fragment

* acme_certificate.py - updated route53 example to include wait: yes
6 years ago
Mikhail Yohman b11f48e645 Netbox interface.py (#53212)
* Created netbox_interface module and updated netbox_utils

* Updated documentation

* Updated descriptions to include type and argument spec to include required subtions of data

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

* Fixed conflicts

* Added region to API_APPS_ENDPOINTS
6 years ago
Federico87 48e83c39ba ASA network/service object-group module (#52925)
* add asa_og module

* add test

* fix pep8

* fix some sanity pylint

* fix import error order

* fix import

* replace cmd() method

* rename file and class

* add mock for connection

* fix commands in  replace test function

* fix lines list

* update unit test

* fix 'and' logic for port-object command

* restore previous unit test; fix pep8 and remove debug

* other unit tests

* Add state present, absent, replace

* Update doc; add default for state

* update unit test with state present/absent

* fix typo in unit test

* fix pep8 too many blank lines

* fix show run for service object ASA Ver 8.x

* Add description field; fix bug for state present and absent

* Re-designed module structure for network, service and port objects

* update integration test for new module structure

* fix pep8

* update EXAMPLES and RETURN

* update units tests

* fix module typos in unit test

* removed provider from examples

* fix missing comma in replace test

* fix module name and remove provider

* update license

* remove register; update license; change import order; chage def state

* remove shebang

* fix doc default state

* change import order

* Update year in banner

* fix integration test as set of tasks

* remove arg_spec

* remove extends_documentation_fragment: asa

* Update DOC, remove unused import, change import order
6 years ago
The Magician 56179ad8ef Bug fixes for GCP modules (#54761) 6 years ago
The Magician ddc2adc0ac Bug fixes for GCP modules (#54762) 6 years ago
The Magician bb1704c360 Bug fixes for GCP modules (#54763) 6 years ago
The Magician 1eef039929 Bug fixes for GCP modules (#54764) 6 years ago
The Magician 9908b2fbf6 Bug fixes for GCP modules (#54765) 6 years ago
Christian Alexander 688409128a docs(lineinfile): fix typo inserbefore -> insertbefore (#54788) 6 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
6 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>
6 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>
6 years ago