Commit graph

8145 commits

Author SHA1 Message Date
Ricardo Carrillo Cruz
ee2d436aa5 Only check default_project on resource creation
The default_project is checked at the beginning of the module.
This raises an exception if the project passed does not exist.
This logic only makes sense on resource creation, if a user
puts state=absent the module fails, even though the default
project is not relevant
2016-04-04 13:20:00 +00:00
Peter Sprygada
25baca1eb8 refactors nxos_template and removes diff functions
replaces the diff functions with the netcfg shared module for handling
configuration diff
2016-04-04 08:16:03 -04:00
Peter Sprygada
639e324fdb refactors nxos_config and removes diff functions
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
2016-04-04 08:15:51 -04:00
Peter Sprygada
11c00c2278 cleans up nxos_command and adds some additonal info on exception
This cleans up some of the nxos_command module code function names to
be more consistent and adds additional information of failures
2016-04-04 08:15:43 -04:00
Peter Sprygada
ad519c2f5c refactors eos_template to remove diff functions
replaces functions with netcfg shared library for handling configuration
diffs
2016-04-04 07:21:00 -04:00
Peter Sprygada
5d0ee49067 refactors eos_config to remove config diff functions
replaces with netcfg shared library for handling configuration diffs
2016-04-04 07:20:48 -04:00
Peter Sprygada
c500b2ff99 refactors the ios_template module to use netcfg diff
removes the functions for performing configuration diffs to use the
netcfg shared lib
2016-04-04 07:02:58 -04:00
Peter Sprygada
df32f64898 refactor ios_config to use netcfg diff shared lib
Move the configuration diff code from the module to the shared lib
2016-04-04 07:02:48 -04:00
Matt Davis
a38bdfc720 Merge pull request #3358 from ansible/fix-async
Allow async to not need an args file since new-style modules have args embedded
2016-04-01 19:57:24 -07:00
Toshio Kuratomi
6e5b09f3a8 Allow async to not need an args file since new-style modules have args embedded 2016-04-01 19:50:58 -07:00
Brian Coca
2ddeb5cdec fixed doc quoting 2016-04-01 17:48:39 -04:00
René Moser
db564c9b0f Merge pull request #3283 from mscherer/fix_argument_rhn_register
Fix argument rhn register
2016-04-01 23:46:36 +02:00
Brian Coca
20e4ad0eef corrected required docs as only boolean is allowed
these complex values were not displayed and would always show the fields as requried
2016-04-01 16:59:12 -04:00
René Moser
7080dd057b Merge pull request #3288 from jhutar/fix-sslcacert-for-rhn_register
Add missing parameters so these options are usable
2016-03-31 19:48:57 +02:00
René Moser
bd2924b8ff Merge pull request #3133 from alachaum/fix-elasticache-idempotency
Fix aws elasticache idempotency
2016-03-31 19:27:15 +02:00
René Moser
18367243e4 Merge pull request #3341 from Shrews/os_server_wait
Pass wait/timeout parameters to floating IP APIs in os_server
2016-03-31 15:32:58 +02:00
René Moser
70c3aee12a Merge pull request #722 from hughsaunders/apt_retry_update
Retry apt cache updates
2016-03-30 22:10:40 +02:00
Jonathan Davila
8b13f2a693 Merge pull request #2278 from wimnat/feature/iam_doc_fix
IAM doc fix
2016-03-30 08:27:32 -04:00
René Moser
fa8cb762ed Merge pull request #3161 from somechris/fix-boto-version-requirement
Guard against too old boto library
2016-03-30 07:23:52 +02:00
David Shrewsbury
aecec868d5 Pass wait/timeout parameters to floating IP APIs in os_server
If a server already exists when os_server is run, but a floating
IP was not assigned to the server when one was requested, the
module will attempt to add an IP to the existing server. But it
would not pass the wait/timeout params to the floating IP APIs.
If wait was True, you could get back a server dict that did not
show the floating IP because it did not wait.
2016-03-29 13:42:41 -04:00
Monty Taylor
458c3056c4 Merge pull request #3338 from Shrews/fix_os_server_type
Set type on floating_ip_pools in os_server
2016-03-29 07:44:29 -07:00
David Shrewsbury
772d9eb88e Set type on floating_ip_pools in os_server
This has been expected as a list, so let's be explicit about it
so it will work correctly in 2.1 release.
2016-03-29 10:13:49 -04:00
David Shrewsbury
cadce13c11 Merge pull request #3335 from rcarrillocruz/fix_os_image_is_public_casting
Fix is_public type on os_image
2016-03-29 08:32:43 -04:00
Ricardo Carrillo Cruz
6e6817ce18 Fix is_public type on os_image
Without this fix, the is_public value is a string and the shade
call handling the module does not evaluate correctly when
passing is_public: no
2016-03-29 11:37:49 +00:00
Hugh Saunders
e9fd7befb7 Retry apt cache updates 2016-03-29 08:35:34 +01:00
René Moser
8dc71f6325 Merge pull request #3333 from mscherer/fix_git_module_args
Use type='path' for path arguments for git module
2016-03-29 09:11:20 +02:00
Michael Scherer
870311748f Use type='path' for path arguments for git module 2016-03-29 08:50:09 +02:00
René Moser
d4285b5f21 Merge pull request #2613 from Jmainguy/apt_download_deb
Add ability to download deb from url
2016-03-28 23:30:47 +02:00
René Moser
5e90c86519 Merge pull request #2702 from curious-eyes/add-gce-preemptible
Add preemptible option on gce.py
2016-03-28 00:06:43 +02:00
René Moser
7e879eca32 Merge pull request #2968 from ashwanthkumar/exponential-backoff-in-route53
add retry with exponential backoff on route53
2016-03-27 23:54:37 +02:00
Brian Coca
eca2e76e9b Merge pull request #3329 from mscherer/fix_typo_os_images_facts
s/plubic/public/in the doc
2016-03-26 22:13:18 -07:00
Michael Scherer
74fd65b2d8 s/plubic/public/in the doc 2016-03-26 14:17:26 +01:00
René Moser
13f4b40c15 Merge pull request #3284 from mscherer/fix_docker_args
Improve/fix type checking for docker module
2016-03-25 23:43:52 +01:00
Toshio Kuratomi
0268864211 Merge pull request #3311 from kustodian/yum-fix-changed-in-check-mode
Yum module always downloads remote rpms. fixes #1452
2016-03-25 07:40:36 -07:00
nitzmahone
06e61cf1db fix win_stat get_checksum alias issue
made it impossible to prevent gathering checksum without setting both get_md5 and get_checksum false
2016-03-24 20:53:04 -07:00
Toshio Kuratomi
a2f41dfb04 Give headers a default so that we can add to it. 2016-03-24 07:24:28 -07:00
Brian Coca
13da54ea34 Merge pull request #3315 from smashwilson/patch-1
Remove myself from the docker module maintainers
2016-03-24 07:08:01 -07:00
Ash Wilson
f4557c1631 Remove myself from the docker module maintainers
Apologies, but I no longer use this module day-to-day myself, and I don't have the bandwidth right now to effectively triage changes in any kind of timely fashion.
2016-03-24 10:03:47 -04:00
Brian Coca
dabf28edbe Merge pull request #2853 from Igelko/patch-1
docker: If cmd and entrypoint not set, don't match them
2016-03-24 06:29:49 -07:00
curious-eyes
24f1afc606 Add preemptible option on gce.py 2016-03-24 18:17:21 +09:00
Victor Beresnev
6a279fd421 If cmd and entrypoint not set, don't match them
Hello!
I wanted stop the containers matched only by image name, but can't do this, if I not set cmd in playbook.
This behavior confused me.

If cmd or entrypoint is defined for running container, but not defined in playbook, makes matching behavior as this sample:
https://github.com/ansible/ansible-modules-core/blob/devel/cloud/docker/docker.py#L463
2016-03-24 11:53:49 +04:00
Strahinja Kustudić
c8222bc8db Yum module always downloads remote rpms. fixes #1452 2016-03-23 23:59:36 +01:00
Brian Coca
c10daa5d80 Merge pull request #3302 from rcarrillocruz/allow_domain_name_os_user
Allow passing domain name on os_user
2016-03-23 14:31:40 -07:00
Rene Moser
e760b45867 apt: doc: fix missing version_added
see #2023
2016-03-23 20:52:14 +01:00
René Moser
f05efd7e76 Merge pull request #2023 from lamby/apt-allow-unauthenticated
os/apt.py: Add support for passing --allow-unauthenticated
2016-03-23 20:49:07 +01:00
Brian Coca
7efc09ef08 Merge pull request #3308 from dagwieers/github-dir
Update the issue and pull-request templates in sync with ansible/ansible
2016-03-23 08:17:38 -07:00
Dag Wieers
31c21f9f56 Update the issue and pull-request templates in sync with ansible/ansible 2016-03-23 15:59:17 +01:00
Chris Lamb
f4bc59595c os/apt.py: Add support for passing --allow-unauthenticated
This is useful for packages that bootstrap their own apt-key setup - only
the initial installation will require overriding. Notable examples are the
Dropbox and Google Chrome packages.

(Setting force=yes is far too strong: I only want to bypass
authentication!)

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2016-03-23 19:55:58 +08:00
René Moser
b8d0f058f4 Merge pull request #2889 from towolf/add_check_mode_to_mysql_db
Add supports_check_mode=True to mysql_db module
2016-03-23 11:26:10 +01:00
René Moser
6a7dac5bdc Merge pull request #3168 from jdicarreira/hostname_sles10_11
Change hostname SLES 10 & 11
2016-03-23 11:23:48 +01:00