Commit Graph

24507 Commits (08ce50c2b3eea4a1841dd5b53e131f9866b400b7)
 

Author SHA1 Message Date
Gabriele 6708874f1c Fixing nxos_mtu (#5014) 8 years ago
Gabriele 6934f11e1f Fixing nxos_ntp (#5015) 8 years ago
Gabriele 6201a57d83 Fixing nxos_ntp_auth (#5016) 8 years ago
Gabriele c50324fb08 Fixing nxos_ntp_options (#5017) 8 years ago
Gabriele 4b6ee73f8c Fixing nxos_pim_interface (#5018) 8 years ago
Gabriele 5b96fb1dac Fixing nxos_portchannel (#5019) 8 years ago
Gabriele ebb39a0151 Fixing nxos_smu (#5021) 8 years ago
Gabriele cda65cad18 Fixing nxos_snmp_community (#5022) 8 years ago
Gabriele f74275fc1d Fixing nxos_snmp_contact (#5023) 8 years ago
Gabriele 73d66e28ab Fixing nxos_snmp_host (#5024) 8 years ago
Gabriele 7c7eee94b2 Fixing nxos_snmp_location (#5025) 8 years ago
Gabriele 19769903e6 Fixing nxos_snmp_traps (#5026) 8 years ago
Gabriele bf59e458b1 Fixing nxos_snmp_user (#5027) 8 years ago
Gabriele 04e62346d1 Fixing nxos_udld_interface (#5030) 8 years ago
Gabriele 6bedeb28d8 Fixing nxos_switchport (#5028) 8 years ago
Gabriele 773f1703b7 Fixing nxos_udld (#5029) 8 years ago
Gabriele d61950d48c Fixing nxos_vpc_interface (#5032) 8 years ago
Gabriele 51c37e9f58 Fixing nxos_vrf (#5033) 8 years ago
Gabriele 8f331e01ca Fixing nxos_vpc (#5031) 8 years ago
Gabriele 9ff6070eb8 Fixing nxos_vrf_interface (#5034) 8 years ago
Gabriele e7286ed43c Fixing nxos_vtp_domain (#5036) 8 years ago
Gabriele c19e3b5924 Fixing nxos_vrrp (#5035) 8 years ago
Gabriele f89cb1717c Fixing nxos_vtp_password (#5037) 8 years ago
Gabriele b897b497c1 Fixing nxos_vtp_version (#5038) 8 years ago
Matt Davis 66a1b15f89 remove broken ansible_user_uid fact from Windows setup 8 years ago
Ryan Brown 135b92bf4e Check status of finished spot instance requests (#4990)
Per #3877, the code to wait for spot instance requests to finish would
hang for the full wait time if any spot request failed for any reason.
This commit introduces status checks for spot requests, so if the
request fails, finishes, or is cancelled the task will fail/succeed
accordingly.

One edge case introduced here is tha if a user terminates the instance
associated with the request manually it won't fail the play, under the
presumption that the user *wants* the instance terminated.
8 years ago
Brian Coca 22d29be478 1st draft of include docs 8 years ago
Toshio Kuratomi 132fcc434b Set some hosts privileged so they can perform mount tests (#5087) 8 years ago
Jiri Tyr 2b145a0052 Fixing bind mount pattern in the mount module (#5084) 8 years ago
Peter Sprygada 58a5ec6c51 fixes junos_command module paring of wait_for strings (#5083)
The junos_command module wasn't properly parsing strings to apply
conditionals due to the return value not being converted to json
before the results where handed to the runner.
8 years ago
Peter Sprygada 9ed01d0cfd fixes junos_template ignoring the action directive (#5080)
This updates the junos_template to properly process the action
directive when loading the configuration.
8 years ago
Toshio Kuratomi 9436d013d4 Fix mount default options -- should be defaults, not default 8 years ago
John R Barker 177dcadbc0 deprecated _template network modules: Rename in modules-core (#5072) 8 years ago
Jiri Tyr be1036f461 Ultimate fix of the mount module for Linux (#5055) 8 years ago
John R Barker f7b10720ac typo in module name (#5062) 8 years ago
Kevin Carter e2e7f20e34 apt: fix cache time handling (#1517)
This change is in response to issue #1497 where the apt module would not properly updating the apt cache in some situations and never returned a state change on cache update when the module was used without or without an item to be installed or upgraded.

The change simply allows the apt module to update the cache when update_cache option is used without or without a set cache_valid_time.
If cache_valid_time is set and the on disk mtime for apt cache is ">" the provided amount of seconds, which now has a default of 0, the apt cache will be updated. Additionally if no upgrade, package, or deb is installed or changed but the apt cache is updated the module will return a changed state which will help users to know that the state of the environment has changed due to a task operation, even if it was only an apt cache update.

fixes #1497

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
8 years ago
Peter Sprygada 0a85e64b4a fixes exception raised due to KeyError (#5068)
The vyos_config module would error when looking for a key called `updates`
in module.params.  There is no such key.  This fixes the problem.
8 years ago
Peter Sprygada 73cf85d677 catches exception if conditional cannot be parsed (#5067)
If the conditional cannot be parsed, the module will now catch the exception
and return a well formed failed message.

fixes #5060
8 years ago
Peter Sprygada da4c11241f fixes error when 'delete ...' config command is specified but doesn't exist (#5064)
The junos_config module will generate an exception if a 'delete ...' config
command is attempted to be loaded into a device configuration.  This change
will first check to see if the delete command is valid and filter it out
of the change set if it is not valid.

fixes #5040
8 years ago
Nathaniel Case aa82f48dc8 Network module code cleanup (#5061)
* Fix imports in junos_template

* Python 3 compatibility in eos_command

* Python 3 compatibility for ios_command

* Clean up issues with ios_facts

* Python 3 compatibility for ios_facts

* Import shuffle in ios_template

* Python 3 compatibility for iosxr_command

* Clean up iosxr_facts.py

* Python 3 compatibility for iosxr_facts

* Python 3 compatibility for junos_command

* Python 3 compatibility for ops_command

* Cleanup issues with ops_facts

* Python 3 compatibility for ops_facts

* Cleanup issues with ops_template

* Python 3 compatibility for vyos_command

* Cleanup issues with vyos_facts

* Python 3 compatibility for vyos_facts
8 years ago
Nathaniel Case 6ae0342a0a Fix imports in junos_template (#5059) 8 years ago
David Shrewsbury d0f7af4b09 Fix os_network's create_network() call for older shade versions (#5058)
A value for the project_id parameter to shade's create_network()
call was always being sent, even if no value for 'project' was
supplied. This was breaking folks with older versions of shade
(< 1.6).

Fixes PR https://github.com/ansible/ansible-modules-core/issues/3567
8 years ago
Matt Clay 25d829c8f2 Detect tar type (bsd, gnu) and only use gnu tar. (#4352)
* Detect tar type (bsd, gnu) and only use gnu tar.

* Revert return code checking for TgzArchive.
8 years ago
Nathaniel Case 9b286b1775 eos_facts cleanup (#5057)
* dict.iteritems does not exist in Python 3

Now just dict.items
six.iteritems handles the change

* Addresses point 1

Unsure if this is a good idea or not.

* Addresses point 2

This shouldn't have any particular change, just marks load_comments as abstract

* Remove unused import

Addresses point 3

* Clarify invalid subset error message

Addresses point 4
8 years ago
Chris Houseknecht 0e4b470ee2 Let docker-py handle decoding and JSON parsing of stream data. Fixes #4930. 8 years ago
Chris Houseknecht 9432adfaf7 Put requested devices in correct format to enable config comparison. Fixes #5000. 8 years ago
Peter Sprygada 0ef16b44ca fixes exception being raised when show configuration command issued (#5047)
The junos_command expects commands to be returned as xml by default but
`show configuration [options]` will return text not xml.  This fix
will set the output format for any command that starts with `show
configuration` to text

fixes #4628
8 years ago
Peter Sprygada a5b32fa0d1 fixes return passing output from command through jxmlease in junos_command (#5044)
The return string from the commands was not being passed through the
jxmlease library and therefore being returned as a string instead of a
json data structure.  This also adds back the missing xml key in the
return that includes the raw xml string.

fixes #5001
8 years ago
Aditya Marella c3f815a6f6 Docker module: add support for OomScoreAdj
* docker-py param name oom_score_adj
* translates to OomScoreAdj in the docker remote API
* setting version_added to "2.2"
8 years ago
shaung bcbeed244b Fix #4504 Respect timeout option when starting/stopping/restarting containers. 8 years ago