Nathaniel Case
a3aa5d799e
Fix nxos_system name-server parsing ( #25973 )
...
* Fix nxos_system name-server parsing
* Introduce lookup_source as a noop, but don't advertise its use
2017-07-17 11:15:43 -04:00
Nathaniel Case
855544604a
Fix nxos_bgp_neighbor_af advertise_map and advertise_map_non_exist ( #26721 )
2017-07-17 11:15:06 -04:00
Brian Coca
4d55148ab2
removed redundant loader
2017-07-17 09:03:39 -04:00
Trishna Guha
e5c2e1b7be
iosxr_logging implementation module ( #26886 )
...
* iosxr_logging implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* iosxr_logging integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-17 17:20:22 +05:30
Trishna Guha
c38bccb3c4
Add ios_logging implementation module ( #26785 )
...
* Add ios_logging implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix doc
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* integration test net_logging and ios_logging
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify the module code
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify the module code
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* change collection to aggregate
* fix buffer size logic
* fix pep8 issues
2017-07-17 12:45:53 +05:30
apmits
033a68d453
pip: Add example for --user ( #26856 )
...
* state type of arguments explicitly
* add example for --user argument
2017-07-17 08:17:06 +02:00
Rob
d0d2beafba
have elb_application_lb use modify_listeners to avoid removing/recreating them ( #25650 )
...
* Rework how listeners and rules and handled. Fixes #25270
* Tidy up, documentation and add rules to returned output
* Remove required=False from argument_spec
* Remove unused functions. Add or [] in case of no elb
* Handle when listners is None in ensure_listeners_default_action_has_arn
2017-07-17 14:33:04 +10:00
sramakr
b980a5c02a
Use Boto3 for ec2_group Fixes #23507 ( #25340 )
...
* Use Boto3 for ec2_group
Currently boto doesn't support ipv6. To support ipv6 in ec2_group, we need boto3.
boto3 has significant API changes, which caused more re-factoring for ec2_group module.
Added additional integration test to test_ec2_group role.
* Follow the standard for boto3 ansible
Fixed imports. Use boto3 ansible exception with camel_dict_to_snake_dict.
Refactored the call to authorize/revoke ingress and egress.
* Removed dependancy with module ipaddress
Added new parameter called cidr_ipv6 for specifying
ipv6 addresses inline with how boto3 handles ipv6 addresses.
* Updated integration test
* Added ipv6 integration test for ec2_group
* Set purge_rules to false for integration test
* Fixed import statements
Added example for ipv6.
Removed defining HAS_BOTO3 variable and import HAS_BOTO3 from ec2.
Cleaned up import statements.
* Fixed exception handling
* Add IAM permissions for ec2_group tests
Missing AuthorizeSecurityGroupEgress necessary for latest tests
* Wrapped botocore import in try/except block
Import just botocore to be more similar to other modules
2017-07-17 12:03:31 +10:00
Ganesh Nalawade
879acf378d
junos implementation of net_lldp ( #26872 )
...
* junos_lldp module
* junos_lldp integration test
* net_lldp integration test for junos
* Other minor changes
2017-07-17 07:14:09 +05:30
René Moser
30ad30c470
cloudstack: remove CloudStackException dep for several modules ( #26874 )
...
* cloudstack: cs_affinitygroup: remove CloudStackException dependency
* cloudstack: cs_domain: remove CloudStackException dependency
* cloudstack: cs_firewall: remove CloudStackException dependency
* cloudstack: cs_host: remove CloudStackException dependency
* cloudstack: cs_instancegroup: remove CloudStackException dependency
* cloudstack: cs_pod: remove CloudStackException dependency
* cloudstack: cs_configuration: remove CloudStackException dependency, fix pep8
* cloudstack: cs_cluster: remove CloudStackException dependency
* cloudstack: cs_network_acl: remove CloudStackException dependency
* cloudstack: cs_network_acl_rule: remove CloudStackException dependency
* cloudstack: cs_zone_facts: remove CloudStackException dependency
* cloudstack: cs_zone: remove CloudStackException dependency
* cloudstack: cs_vpn_gateway: remove CloudStackException dependency
* cloudstack: cs_vpc: remove CloudStackException dependency
* cloudstack: cs_sshkeypair: remove CloudStackException dependency
* cloudstack: cs_role: remove CloudStackException dependency
* cloudstack: cs_ip_address: remove CloudStackException dependency
* cloudstack: cs_ip_staticnat: remove CloudStackException dependency
* cloudstack: cs_resourcelimit: remove CloudStackException dependency
* cloudstack: cs_region: remove CloudStackException dependency
* cloudstack: cs_project: remove CloudStackException dependency
* cloudstack: cs_network: remove CloudStackException dependency
* cloudstack: cs_loadbalancer_rule_member: remove CloudStackException dependency
* cloudstack: cs_loadbalancer_rule: remove CloudStackException dependency
* cloudstack: cs_iso: remove CloudStackException dependency
2017-07-16 22:05:14 +02:00
Patrick Marques
a59684fddd
Created digital_ocean_floating_ip module ( #18922 )
...
* Created digital_ocean_floating_ip module
2017-07-16 11:01:04 -07:00
René Moser
8477525d2b
cloudstack: cs_account: remove CloudStackException dependency ( #26870 )
2017-07-16 12:02:28 +02:00
Rene Moser
1a27546039
cloudstack: cs_router: use query_api, remove CloudStackException dependency
2017-07-16 11:46:10 +02:00
Rene Moser
9543025b91
cloudstack: cs_router: fix pep8
2017-07-16 11:46:10 +02:00
Rene Moser
d88e9ab869
cloudstack: cs_router: add zone param
2017-07-16 11:46:10 +02:00
Rene Moser
c896aab5e3
cloudstack: cs_router: fix router not found and async polling in reboot
2017-07-16 11:46:10 +02:00
René Moser
5979f2543f
cloudstack: cs_instance_nic: remove duplicate code ( #26869 )
2017-07-16 11:41:36 +02:00
René Moser
1d907de966
cloudstack: cs_user: fix pep8 and minor restyling ( #26849 )
2017-07-15 19:16:53 +02:00
René Moser
2a751e1753
cloudstack: cs_instance_nic: remove CloudStackException dependency ( #26860 )
2017-07-15 19:12:32 +02:00
René Moser
8320071e81
cloudstack: utils: reduce cs lib dependency in modules ( #26848 )
...
Also improves error handling and reduces code duplication
2017-07-15 18:25:27 +02:00
ioggstream
dc408f9035
known_hosts: always use lowercase hostnames for host keys ( #26850 )
2017-07-15 17:51:19 +02:00
Pilou
d9265c7498
os_ironic: fix broken import ( #26802 )
2017-07-15 08:44:50 -05:00
Quentin Dawans
613690bd46
Proxmox set number of cores for vm/ct ( #25901 )
...
* Proxmox set number of cores for vm/ct
Argument to limit the number of assigned core to a vm/ct
* version_added & pep8
* default to 1
2017-07-15 10:51:13 +01:00
Ganesh Nalawade
bf48364c72
junos implementation for net_l3_interface module ( #26829 )
...
* junos implementation for net_l3_interface module
* junos_l3_interface implementation
* junos_l3_interface integration test
* net_l3_interface integration test for junos
* Fix module name typo
2017-07-15 12:38:44 +05:30
Brian Coca
04868c22b7
fixed issue with null host vars
2017-07-15 00:20:08 -04:00
Adrian Moisey
6ba49f42c2
Allow creation of github release tags ( #25338 )
...
* Allow creation of github release tags
* Reword description
* Prefer to use required_if
2017-07-14 14:57:56 -04:00
Abhijeet Kasurde
6bc15d11b9
Remove unreachable code ( #26820 )
...
Break statement is unreachable in current for loop.
Safely remove break statement.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-07-14 14:52:30 -04:00
Abhijeet Kasurde
b6fdc904a9
Remove redundant switch_name param ( #26817 )
...
Class uses a redundant switch_name param, which can be
removed safely.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-07-14 14:49:48 -04:00
Peter Hoffmann
2f81a28414
use tenant in UserPassCredentials if set ( #20751 )
...
* use tenant in UserPassCredentials if set
If you have multiple Tenants you need to set the tenant in https://github.com/Azure/msrestazure-for-python/blob/master/msrestazure/azure_active_directory.py otherwise the azure_rm.py call will fail.
see: https://github.com/ansible/ansible/pull/20750
* fixed PEP8 failure
2017-07-14 11:01:43 -07:00
Jordan Borean
8e05d7d962
win_secedit: Added module with tests/diff mode ( #26332 )
...
* win_secedit: Added module with tests/diff mode
* fixed up test issues
* Added missing return value
* change for win_secedit based on review
* updated win_security_policy examples for rename
2017-07-14 11:00:29 -07:00
Dag Wieers
4a1864765b
Windows: Path integration tests ( #26490 )
...
These integration tests were used for testing the exact behaviour of
Ansible for YAML-style syntax and key=value syntax.
This includes fixes to win_shortcut (as `src` can be a URL too)
2017-07-14 10:24:54 -07:00
Colin Heinzmann
1d14de1d8c
fixed win_nssm escaping issue ( #22512 )
...
* bugfix: applicaiton setting was not properly escaped leading to issues
when picking application under C:\Program Files (x86)\...
2017-07-14 10:11:02 -07:00
Nathaniel Case
61249995a1
Update nxos_interface_ospf & add test ( #26644 )
...
* Update nxos_interface_ospf & add test
2017-07-14 12:31:36 -04:00
Jordan Borean
eb1ed6567c
win_regedit: rewrite to support edge cases and fix issues ( #26468 )
...
* win_regedit: rewrite to support edge cases and fix issues
* fix up byte handling of single bytes and minor doc fix
* removed unused method
* updated with requested changes
2017-07-14 09:28:49 -07:00
Greg
3506febbb9
Fixing issue related to writing ini files
...
When the file is opened with rwa+ and the update file size is smaller than the original the ini file can become corrupt. The issue was noticed when we had comments at the top of /etc/yum/pluginconf.d/rhnplugin.conf after using the rhn_register module the file became correct.
rwa+ also make no sense as the file is only written too and why would any appending need to happen?
2017-07-14 11:20:32 -04:00
Jonan
088b930808
Update service.py
...
Ensure "initctl status servicename" passes along arguments to check correct instance.
2017-07-14 10:57:10 -04:00
Arne de Laat
c536f7789b
In cronvar only use '-u {user}' if self.user is not the current user
...
Use the same logic as in the cron module.
2017-07-14 10:44:31 -04:00
Brian Coca
c581ae4b8d
corrected version
2017-07-14 10:25:40 -04:00
Peter Shrom
80e88a7d40
updated version added
2017-07-14 10:25:41 -04:00
Peter Shrom
de5fb8d98c
adding ability to set openstack image ids
2017-07-14 10:25:41 -04:00
Gawain
6608629d25
Add 'mac_address' to the attributes returned from the vmware_vm_facts module ( #26527 )
...
* Add 'mac_address' to the attributes returned from the vmware_vm_facts module
* fix pep8 issue
2017-07-14 10:25:20 -04:00
Ganesh Nalawade
751ad7021c
vyos implementation for net_interface module ( #26799 )
...
* vyos implementation for net_interface module
* vyos_interface implementation module
* vyos_interface integration test
* net_interface integration test for vyos
* Change collection to aggregate
2017-07-14 19:39:21 +05:30
Abhijeet Kasurde
a1977d9654
Remove redundant get_obj method ( #26324 )
...
vmware_guest_facts has redundant get_obj method, this can
be removed safetly.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-07-14 10:04:10 -04:00
Toshio Kuratomi
e986e31a75
This function is for setting variables on hosts. So those two parts are always required.
...
Don't have to check for the existence of those in the function. If they
aren't set to iterables then it should be up to the calling code to
handle it.
2017-07-14 07:03:26 -07:00
Abhijeet Kasurde
b4a58b65fb
Add param for snapshot subtree removal ( #26576 )
...
Fix adds a parameter for removing snapshot subtree.
Fixes : #26522
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-07-14 10:00:37 -04:00
Peter Sprygada
b9a1998af5
changes changed
to modified
in save_when choices ( #26801 )
2017-07-14 15:08:19 +02:00
Peter Sprygada
3bbb32cac5
fixes error when trying to run show start over eapi ( #26800 )
2017-07-14 15:07:44 +02:00
Abhijeet Kasurde
156b29b26b
Fix for check_mode in archive ( #26788 )
...
Fix adds check_mode fix for archive module. Also,
adds unit tests for archive module
Fixes : #26750
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-07-14 09:06:17 -04:00
Ricardo Carrillo Cruz
8333a8b908
Fix eos_config defaults logic ( #26798 )
...
Current code is bogus, it was passing flags all unconditionally.
2017-07-14 13:43:17 +02:00
Robin Roth
d4482761ba
Make lujeni only maintainter of mongodb_user ( #26789 )
2017-07-14 11:16:26 +01:00