Sandra McCann
c44860057e
update sros metadata to certified ( #46981 )
2018-10-12 14:48:16 -05:00
Jonathan Oddy
f2dccb90e8
Restore SIGPIPE handler to DFL on POpen
...
Python sets the SIGPIPE handler to SIG_IGN. On execv() signal handlers are
reset to their defaults, EXCEPT those that are SIG_IGN which are left ignored.
In Python 3 subprocess.popen explicitly resets the SIGPIPE handler to SIG_DFL,
but unfortunately in Python 2.7 it does not. This leads to subprocesses being
executed with SIGPIPE ignored. This is often a problem with bash scripts which
rely on SIGPIPE to terminate commands in a pipe, but can easily be a problem
with other applications.
This implements the Python 3 behaviour for Python 2.7 by using a preexec_fn.
2018-10-12 12:31:24 -07:00
Sandra McCann
1015c50034
update cyberark metadata to certified ( #46978 )
2018-10-12 13:54:48 -05:00
Sandra McCann
4513298971
Change netapp ontap and elementsw modules to certified ( #46974 )
...
* netapp ontap and elementsw modules to certified
2018-10-12 13:54:23 -05:00
Sandra McCann
f138f7019f
Mark NIOS modules as certified ( #46973 )
...
* updated NIOS community modules to certified
* moved remaining nios modules to certified
2018-10-12 13:53:52 -05:00
Sandra McCann
dc3407eaeb
changed F5 module metadata to certified ( #46849 )
2018-10-12 10:57:28 -05:00
Matt Martz
a06a5ded61
Do not use mutable defaults in FieldAttribute, instead allow supplying a callable for defaults of mutable types. Fixes #46824 ( #46833 )
2018-10-12 10:43:09 -05:00
Sandra McCann
0dd17b521f
change UCS modules to certified ( #46848 )
2018-10-12 10:35:52 -05:00
Brian Coca
9e0c2a658f
better information for user from inventory plugins ( #46766 )
...
* better information for user from inventory plugins
- use foreman as example
2018-10-12 11:27:29 -04:00
Brian Coca
a5bd84758a
simpler/shorter option names for user
...
- internally we can keep long names, but user should not require extra typing
2018-10-12 11:23:42 -04:00
Brian Coca
3453dace85
use to_text instead of str in async_status ( #45990 )
...
* use to_text instead of str in async_status
* used to_native instead as per feedback
2018-10-12 10:04:37 -04:00
Brian Coca
643ff29d2d
use ansible json encoder for results in callbacks ( #46830 )
...
* use ansible json encoder for results in callbacks
2018-10-12 09:37:56 -04:00
Christian Kotte
ade5d938c3
VMware: Improve module vmware_host_config_manager ( #46264 )
...
* Improve module description
* Add check mode support and change message
2018-10-12 15:16:12 +05:30
Gustavo Muniz do Carmo
739a129322
ldap_attr: typecast values to list ( #46818 )
...
Adding a value to an attribute or removing a value from an attribute of a LDAP entry throws the exception TypeError: object of type 'filter' has no len()
2018-10-12 15:06:06 +05:30
Will Thames
b772485d97
Ensure that k8s_facts always returns resources key ( #46733 )
...
Fix bug returning `items` key if NotFound exception is hit
2018-10-12 05:11:48 -04:00
Alb0t
e2b9c36080
Add Alibaba to RedHat family list. ( #46828 )
2018-10-12 10:23:03 +02:00
Matt Davis
3e18bbec34
remove cross-module imports
...
* duplicated code instead; use module_utils if code-sharing needs increase
2018-10-11 19:54:54 -07:00
Shuang Wang
761f99a4e3
add sample for follow parameter of copy.py ( #45765 )
...
* add sample for follow parameter of copy.py
2018-10-11 18:48:54 -07:00
Sandra McCann
e43869cca9
mark Cisco ACI modules certified ( #46842 )
2018-10-11 15:35:12 -05:00
Sandra McCann
6479cb6a4a
mark Cisco ACI modules as certified ( #46841 )
2018-10-11 15:34:35 -05:00
Alicia Cozine
e601521708
all amazon modules are community maintained ( #46840 )
2018-10-11 15:38:54 -04:00
Alicia Cozine
561a5b1adc
all azure modules are community maintained ( #46839 )
2018-10-11 15:37:42 -04:00
cahlchang
1cce11b39c
[AWS] Support check mode in aws ec2_instance module ( #46774 )
...
* fix checkmode
* Added checking test to existing test playbook
* Added test for check mode
2018-10-11 14:21:01 -04:00
Jose Delarosa
81640a2c67
Provide flexibility when retrieving facts ( #46148 )
...
* Provide flexibility when retrieving facts
* Check if keys exist before trying to read
2018-10-11 14:17:13 -04:00
Justin England
0bc5b799a6
Update win_scheduled_task.py ( #46720 )
...
* Update win_scheduled_task.py to document that the duration of a task trigger can be null, which will cause it to run indefinitely - docs update makes use of suboptions
* Add a fix for the validate-modules schema
2018-10-11 13:16:25 -05:00
Adam Miller
fd97c8e56c
fix yum proxy username/password handling ( #46291 )
...
Fixes #46249
Signed-off-by: Adam Miller <admiller@redhat.com>
2018-10-11 12:51:40 -05:00
Peter Oliver
40fb992a6f
Locate prtdiag even when absent from /usr/bin ( #44113 )
...
* Locate prtdiag even when absent from /usr/bin
On Solaris 8 hosts, this prevents fact collection from aborting with:
Argument 'args' to run_command must be list or string
* Lint fix.
* Style: pass /usr/platform/.../sbin as optional path to get_bin_path().
2018-10-11 13:41:06 -04:00
Rémy Léone
46ed120778
Fix scaleway_compute dynamic_ip_required ( #46256 )
2018-10-11 18:28:16 +01:00
Rémy Léone
faf262977e
Add virtualization devices in the inventory ( #45728 )
2018-10-11 18:09:01 +01:00
Rémy Léone
a8925484c9
Use constructable with NetBox dynamic inventory ( #45913 )
2018-10-11 18:01:29 +01:00
Brian Coca
b2ac745461
add note to inform awx team on change
2018-10-11 12:45:53 -04:00
Sloane Hertel
f3d5ebb355
add more consistent extension matching for inventory plugins ( #46786 )
...
* Add consistent extension matching for inventory plugins that support YAML configuration files
* Document extension matching expectations
2018-10-11 11:06:52 -05:00
Brian Coca
e3882ad6f6
added friendlier aliases for auth options ( #46816 )
...
* added friendlier aliases for auth options
2018-10-11 11:34:41 -04:00
Shuang Wang
cd1faca6e0
copy - support recursive copying with remote_src ( #43998 )
...
* Allow copy module to work with recursive and remote_src #14131
2018-10-11 08:18:44 -07:00
Adam Miller
fb6e91bf98
yum module properly check for None config_file ( #46641 )
...
* yum module properly check for None config_file
* add conf_file test cases to yum integration tests
Signed-off-by: Adam Miller <admiller@redhat.com>
2018-10-11 10:11:34 -05:00
Anil Kumar Muraleedharan
d0e89bc1bb
Lenovo finetune modules ( #46623 )
...
* Making username password etc non mandatory as we use persistence connection.
Some documentation fine tuning also done.
* To update version which was tested against.
* Adding Bacon switch (NE0152T) to device rules
* Qalthos Review catch
* Updating version
* Changing documentation to add Bacon switch. This is effective since 2.8
2018-10-11 09:49:49 -04:00
Johannes Brunswicker
b3063e37be
Convert results with to_native in consul_kv plugin ( #46551 )
...
* #42851 convert results with to_native
* added missing ANSIBLE_METADATA
* removed unneeded brackets
* * replaced to_native with to_text to avoid getting bytecode
2018-10-11 09:35:49 -04:00
markafarrell
4c169a1a6d
Enable HTTP Authentication for url lookup ( #43467 )
...
* Add url_username and url_password options for url lookup
* Update url.py
Fix documentation
* Fix options documentation
Default value for url_password and url_username is None not an empty string
* Add version added to documentation
* Break command over multiple lines to fix linting
* Fix more linting
* Update version_added in url.py to 2.8
2018-10-11 09:30:56 -04:00
dangoscomb
fb72a5424c
nmcli: fix vlan connection modification Fixes #42322 ( #42415 )
...
* ensure optional items are set to empty strings rather than not presented
fix syntax of vlan modification command
* extended tests for nmcli
2018-10-11 07:52:18 -04:00
Christian Kotte
2230f40041
VMware: Add check mode support to module vmware_host_firewall_manager ( #46266 )
2018-10-11 15:54:30 +05:30
Christian Kotte
0bc2e6795d
VMware: Gather extended datastore facts ( #46546 )
...
* Add datacenter_name alias
* Add check mode support
* Add extended datastore information
2018-10-11 15:52:30 +05:30
Scott Xu
db69f46cf9
Update nso_action.py ( #46763 )
...
* Update nso_action.py
The module's name should be nso_action.
* Update nso_action.py
Fixed the input field in the example.
2018-10-11 14:07:59 +10:00
Adam Miller
ad405fc21e
yum module handle list optional empty strings properly ( #46634 )
...
Fixes #46517
Signed-off-by: Adam Miller <admiller@redhat.com>
2018-10-10 18:49:24 -04:00
José R Cordones
d3cc2f803a
Update eos_config.py ( #45810 )
...
Switches will accept the previously used syntax for /32 ACL entries, but they get changed to host ipaddress in the config file.
This results in the config check failing every time (permit ip 1.1.1.1/32 any log != permit ip host 1.1.1.1 any log), resulting in the ACL getting re-created on every single run of the Playbook.
Making this proposed change to the example will make it work in an idempotent manner.
+label: docsite_pr
2018-10-10 16:47:11 -04:00
Brian Coca
8743e6ae2e
remove default from delegate_facts to inherit ( #45492 )
...
* remove default from delegate_facts to inherit
fixes #45456
* test delegate_facts
* added note about inheritance and defaults
* yamllint
2018-10-10 15:10:23 -04:00
Ganesh Nalawade
58aaf53271
Fix netconf module_utils dict changed size issue ( #46778 )
...
Fixes #46755
Use list() to copy the keys of attribute dict
while iterating over attribute dict.
2018-10-11 00:01:17 +05:30
Abhijeet Kasurde
32397531d0
lambda: fix unboundLocalError in lambda ( #46729 )
...
This fix initializes current_version to None so that
module proceeds in check mode.
Fixes : #46654
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-10-10 22:57:58 +05:30
Brian Coca
80d977bac6
manage levels for 'multiple included lists' ( #46359 )
...
* manage levels for 'multiple included lists'
fixes #46343
2018-10-10 12:34:58 -04:00
akatch
878599fd9f
Do not append msg to verbose tasks ( #46721 )
2018-10-10 12:11:43 -04:00
anasbadaha
2c24cfb401
Add support for IGMP interfaces on onyx switches ( #46218 )
...
Signed-off-by: Anas Badaha <anasb@ufm-host08-004.mtr.labs.mlnx>
2018-10-10 11:42:47 -04:00