Commit graph

8690 commits

Author SHA1 Message Date
Tom Melendez
0f1c083d25 Allow GCE firewall rules to be updated when attributes changes. Fixes #2111.
Previously, when the attributes of a GCE firewall change, they were ignored.  This PR changes that behavior and now updates them.

Note that the "update" also removes attributes that are not specified.

An overview of the firewall rule behavior is as follows:

1. firewall name in GCP, state=absent in PLAYBOOK: Delete from GCP
2. firewall name in PLAYBOOK, not in GCP: Add to GCP.
3. firewall name in GCP, name not in PLAYBOOK: No change.
4. firewall names exist in both GCP and PLAYBOOK, attributes differ: Update GCP to match attributes from PLAYBOOK.
2016-07-13 19:54:15 +00:00
Jan Hutař
8e241a87cc Add way to specify environment (#3453) 2016-07-13 11:23:26 -04:00
Chris Houseknecht
eab6bb8794 Merge pull request #4176 from h-hirokawa/fix4174
Fix azure_rm_virtualmachine to create a storage account with name contains lower-case only  (#4174).
2016-07-13 09:46:07 -04:00
Chris Houseknecht
77db7011f0 Merge pull request #4173 from chouseknecht/fix_entrypoint
Fix entrypoint. Should behave the same as command.
2016-07-13 07:54:13 -04:00
h-hirokawa
977a6a8b28 Fix azure_rm_virtualmachine (#4174). 2016-07-13 16:13:27 +09:00
Chris Houseknecht
a75ee76aa3 Entrypoint fails with 'command not found' error. 2016-07-13 02:41:25 -04:00
Chris Houseknecht
67dadf3aa4 Merge pull request #4171 from chouseknecht/fix_3961
Add push parameter and let API handle registry auth checking.
2016-07-12 16:59:46 -04:00
Chris Houseknecht
58b551774c Add push parameter. Let API handle registry authentication check. 2016-07-12 16:49:58 -04:00
Chris Houseknecht
170ffeb896 Merge pull request #4166 from chouseknecht/devel
Fix module failing when no ports are exposed
2016-07-12 16:43:39 -04:00
Chris Houseknecht
1058094b64 Fix module failing when no ports are exposed 2016-07-12 16:29:45 -04:00
jjshoe
90b8281a51 Fixed a typo (#4168) 2016-07-12 16:02:25 -04:00
Richard Levenberg
dca3e594ac handle multiple winrm listeners (#4142)
* handle multiple winrm listeners

* use the sorterd array
2016-07-12 11:09:02 -07:00
Chris Houseknecht
73dbb744b5 Merge pull request #3887 from Jorge-Rodriguez/docker-image-no-push-on-load
Don't forcibly push loaded images to registry.
2016-07-12 13:09:33 -04:00
Marcos Diez
f7558164b5 better authorized_keys documentation (#3739) 2016-07-12 08:52:00 -04:00
Chris Houseknecht
328f047fda Merge pull request #4040 from qiluo-msft/qiluo/actual_stdin_open
Fix getting actual_stdin_open
2016-07-11 13:24:17 -04:00
Chris Houseknecht
d97566dd6d Merge pull request #4157 from chouseknecht/devel
Fix multi-interface port binding.
2016-07-11 13:21:29 -04:00
Chris Houseknecht
4aee56553f
Fix multi-interface port binding. 2016-07-11 13:14:23 -04:00
Chris Houseknecht
9c88c45dd2 Merge pull request #4155 from chouseknecht/fix_4091
Support publishing all ports.
2016-07-11 12:47:02 -04:00
Chris Houseknecht
e51024c84d Fix 'all' option for published_ports parameter. 2016-07-11 12:41:20 -04:00
Chris Houseknecht
36ed0ad766 Add cleanup parameter. (#4144) 2016-07-11 11:49:31 -04:00
David Shrewsbury
a606e9cd37 Fix bug in os_router.py when router is not actually updated. (#4107)
The shade update_router() call will return None if the router is
not actually updated. This will cause the module to fail if we
do not protect against that.
2016-07-11 16:01:20 +02:00
Chris Houseknecht
391561fa5d Merge pull request #4151 from chouseknecht/fix_4139
Fix purge_networks
2016-07-11 10:00:31 -04:00
Peter Sprygada
359f1747be Merge pull request #4153 from privateip/ios_command
fix up ios_command to use NetworkModule
2016-07-11 09:57:39 -04:00
Peter Sprygada
d2aca4980b Merge pull request #4152 from privateip/ios_config
refactor ios_config for network module
2016-07-11 09:57:31 -04:00
Brian Coca
7437b6b25f updated checkmode for update-rc.d
fixes #4146
2016-07-11 09:39:30 -04:00
Peter Sprygada
ebc9f092ad fix up ios_command to use NetworkModule
* using check mode will now block all commands except show commands
* module will no longer allow config mode commands
* check args for unused values and issue warning
2016-07-11 06:01:32 -07:00
Peter Sprygada
5f08277eb4 refactor ios_config for network module
This refactors the ios_config module to use the network module added
in 2.2 to simplify common network functions

new features

* add src, dest arguments for working with config
* results now return flag if the config was saved or not
* adds append argument for updating the dest file (when dest is used)
2016-07-11 05:58:12 -07:00
Rene Moser
45845e0bdc os_server, doc: add version added for delete_fip
Also see #3509
2016-07-11 08:40:32 +02:00
David Shrewsbury
3979faf3e5 Allow os_server to delete FIP (#3509)
The os_server module could automatically generate a floating IP for
the user with auto_ip=true, but we didn't allow for this FIP to be
automatically deleted when deleting the instance, which is a bug.
Add a new option called delete_fip that enables this.
2016-07-11 08:35:51 +02:00
Chris Houseknecht
78f6c7e51e
Fix purge_networks 2016-07-11 00:23:58 -04:00
Andrei Lukovenko
ff223ee14c Bug: invocation with state=absent always leads to (#3051)
[localhost]: FAILED! => {"changed": false, "failed": true, "msg":
"'Domain' object has no attribute 'id'"}

How to reproduce:

- name: create domain
  digital_ocean_domain: state=present name=DOMAIN_NAME ip=DROPLET_IP

- name: destroy domain
  digital_ocean_domain: state=absent name=DOMAIN_NAME

Problem: DigitalOcean API accepts domain name, not record ID
(https://developers.digitalocean.com/documentation/v2/#delete-a-domain)
2016-07-11 01:26:31 +02:00
Adrian Moisey
74285d6a53 Add default port for aurora (#4102)
If a port isn't specified, it's looked up. The lookup breaks without
this.

Related: https://github.com/ansible/ansible-modules-core/pull/3414
2016-07-11 01:20:12 +02:00
Peter Sprygada
38e8c7d2d0 Merge pull request #4150 from privateip/ios_facts
update ios_facts module to use NetworkModule
2016-07-10 12:42:48 -04:00
Peter Sprygada
b2202c6da8 update ios_facts module to use NetworkModule
minor update to ios_facts to remove get_module() in favor of NetworkModule
2016-07-10 12:38:08 -04:00
jctanner
db8af4c5af add gather_timeout parameter (#4093) 2016-07-08 17:22:05 -04:00
Matt Davis
4c4a6de9d6 Merge pull request #3771 from jhawkesworth/doc_win_get_url_force_no_behaviour
document how force=no works for win_get_url and add RETURN
2016-07-08 13:38:47 -07:00
Peter Sprygada
25e98e869f Merge pull request #4124 from privateip/ios_facts
initial add of ios_facts module
2016-07-07 17:10:29 -04:00
Peter Sprygada
8655dc4aaf Merge pull request #4123 from privateip/ios_command
refactor ios_command to use CommandRunner class
2016-07-07 17:10:04 -04:00
Peter Sprygada
1ba45c1d03 Merge pull request #4065 from privateip/eos_command
refactor the eos_command module to use the CommandRunner
2016-07-07 17:06:29 -04:00
James Cammarata
799159b8ee Removing erroneous import from async_status 2016-07-07 13:45:21 -05:00
James Cammarata
b75f305079 Ensure async wrapper and status return consistent fields 2016-07-07 13:41:50 -05:00
Matt Clay
6b2ed8e468 Merge pull request #4135 from mattclay/notifications
Enable IRC and Slack notifications on Shippable.
2016-07-07 11:28:04 -07:00
Matt Clay
5dc0aab7bb Enable IRC and Slack notifications on Shippable. 2016-07-07 11:16:36 -07:00
James Cammarata
28567b6ea0 Merge pull request #4051 from Shrews/async_atomic_move
Use os.rename() in async_wrapper
2016-07-07 11:28:49 -05:00
Matt Clay
94f4dc0099 Merge pull request #4129 from mattclay/split-tests
Run each integration test separately.
2016-07-06 23:52:55 -07:00
Matt Clay
44d16c168d Run each integration test separately. 2016-07-06 23:47:45 -07:00
Matt Clay
0ecf3ce6ec Merge pull request #4127 from mattclay/shippable
Initial support for module integration tests.
2016-07-06 22:30:12 -07:00
Matt Clay
df4bfb431e Initial support for module integration tests. 2016-07-06 20:22:22 -07:00
Peter Sprygada
4f8f8f1998 initial add of ios_facts module
This adds the new module ios_facts for collect fact information from
ios devices
2016-07-06 21:30:55 -04:00
Peter Sprygada
11efe33730 refactor the eos_command module to use the CommandRunner
* This adds support the CommandRunner to handle executing commands on
the remote device.
* It also changes the waitfor argument to wait_for to remain compatable
with other modules and adds an alias for waitfor.
* Restricts commands to show commands only when check mode is specified.
* add version_added to wait_for doc string
2016-07-06 21:28:48 -04:00