Vyronas Tsingaras
bdb33b5756
Properly check if vm_hardware contains keys
...
This commit fixes #1475
Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
8 years ago
Vyronas Tsingaras
262e86b36b
Use either esxi:dc,host OR cluster,resource_pool
...
vsphere_guest now can deploy a template using a datacenter and hostname
as the target, instead of requiring a cluster and resource_pool.
This commit fixes #951 .
Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
8 years ago
Robin Roth
abc89f0df5
add comment: ports need to be exposed.
...
port mapping with this module only works for ports that are exposed either in the Dockerfile or via an additional arguments. This is different from the command line docker client, that is willing to also map ports that are not exposed.
This comments makes the behaviour more obvious.
8 years ago
Monty Taylor
8ff71a3fa8
Actually use changed variable
8 years ago
Monty Taylor
4125b576e9
Return the secgroup for all present states
8 years ago
Monty Taylor
b955b2f5c8
Return resource objects from OpenStack modules
...
It's not uncommon for people to want to do additional things after
creating a module. Also, add a note about it to the dev notes.
8 years ago
Monty Taylor
89f95471f8
Return secgroup, not just id
8 years ago
Philip Kirkland
cc214afed6
adding 'encrypted' option into volume dict so ec2 module can easily include encrypted volumes
8 years ago
Toshio Kuratomi
88ae201b20
Fix bugs found by @kustodian
8 years ago
Toshio Kuratomi
f0f1dc985f
Fix incorrect line breaking
8 years ago
Toshio Kuratomi
9f043d9ba8
Further optimizations pointed out by @kustodian in #1516
...
* Only install yum-utils if needed (b/c we're going to use repoquery)
* Add a warning message explaining that why slower repoquery was used
rather than yum API.
8 years ago
Toshio Kuratomi
ba566501a8
Yum API is faster than calling out to repoquery. Looking through the commit logs it looks like we weren't previously doing that because of commit 14479e6adc
...
The message there is that Yum API prints an error message if the
rhn-plugin is in use and no rhn-certificate is available. So instead of
using repoquery in preference always here we use repoquery in preference
if the rhn-plugin is enabled.
8 years ago
David Shrewsbury
9cbd7b2ece
Remove os_security_group_rule module
...
The rules module will have it's own branch.
8 years ago
David Shrewsbury
6527f895a1
Remove 'result' value
...
This value is pretty much useless, and a holdover from the old
module code. Let's remove it.
8 years ago
Monty Taylor
eb2f3c8a44
Update version added
8 years ago
David Shrewsbury
7f0da6d851
Update the docstring for os_security_group
...
Indicate that idempotence is on security group names, and give
an example for updating a security group description.
8 years ago
David Shrewsbury
640dbee643
Update for latest shade API
...
Shade version 0.7.0 introduces new API methods for creating,
deleting, and updating security groups. Let's use those and
clean up the module.
8 years ago
az7arul
5ffb677b00
add `include_doc` option
8 years ago
Jamie Hannaford
f969bc0549
Fix get_launch_config var name
8 years ago
Jamie Hannaford
6b9310ecfb
Fix attribute name for Auto Scale servers
8 years ago
Julia Kreger
d67ba5e25b
Updating os_ironic_node module
...
Updating the os_ironic_node module to the most recent version
including support for power and maintenance states.
8 years ago
Julia Kreger
51149b9643
Updating os_ironic module
...
Updating os_ironic module to the most recent version accounting for
changes in Ansible devel branch and the shade library since the
original creation of the module.
8 years ago
nitzmahone
548ab163f5
Added choice validation for state arg
...
fixes traceback on invalid state arg
8 years ago
Toshio Kuratomi
ada424078b
Restore setting cachedir when non-root but don't take a useless cachedir parameter to the function
...
* Revert "Remove unused code"
This reverts commit bcfba0c050
.
* Re-add the changes to remove cachedir as a parameter
8 years ago
Greg DeKoenigsberg
4cdd58064d
Updated author data for modules
8 years ago
Sergei Antipov
e62f870859
mysql_user | Hide password
8 years ago
Greg DeKoenigsberg
eb881d7d5d
Proper author info for all remaining modules
8 years ago
Greg DeKoenigsberg
18ca7aee07
Updating cloud modules with proper github author information
8 years ago
Robert Estelle
8b2327fe3a
Fix missing instance_id param in ec2_eip.
8 years ago
Kamil Madac
1ae799f361
Better error handling in supervisorctl module.
...
If execution of supervisorctl was not successful (exit code > 0),
module silently supress this error and returns changed = false,
which turns to OK task state.
This is very confusing, when supervisorctl needs authentication,
and credentials are not specified in module or are incorrect,
services are not restarted/started/stopped without raising an error.
8 years ago
Monty Taylor
574bcac277
Add developer docs for the OpenStack modules
8 years ago
Hagai Kariti
b154ad4cbb
ec2_vol: fix race conditions because we handle errors before actually deleting
...
Just try to delete the volume and handle the error amazon sends
8 years ago
Tyler Cross
9babe9b07d
Get specific object version with S3 module.
...
- allow specifying version for mode=get and mode=getstr
- when version specified doesn't exist give an error message that indicates so
8 years ago
Pepe Barbe
5dc322b911
Add OS architecture and OS name to the Windows setup module
8 years ago
Monty Taylor
51ce05bfb9
Add Ironic Node module
8 years ago
Monty Taylor
e534753092
Add Ironic module
8 years ago
Monty Taylor
0447a88c80
Add OpenStack Object module
8 years ago
Monty Taylor
234a6c93c7
Add OpenStack Security Group support
...
Two modules - one for security groups and one to manage rules in a
security group.
8 years ago
Robert Estelle
ecae3403af
Remove unnecessary wait_timeout parameter.
8 years ago
Robert Estelle
3798c8c0ce
Refactoring of ec2_eip module.
8 years ago
Robert Estelle
41f7e4ed5e
ec2_eip - PEP8 and minor style cleanups.
8 years ago
Robert Estelle
a41994974c
EC2 Security Group - Validate parameters.
8 years ago
Edward Torbett
3a4d8f22a6
Renamed previous pkgs variable to installed_pkgs as spotted by @strahinja
8 years ago
Edward Torbett
dad26d70fa
Corrected pkg to pkgs as noted by @abadger
8 years ago
Edward Torbett
9707a5a95e
Added multi package operation to remove as suggested by @abadger. Adding to latest is a little more complex due to '*' support.
8 years ago
Edward Torbett
32180c3c0e
Comments by @abadger
8 years ago
Edward Torbett
4b3fff108d
Rather than executing yum once per package, execute yum once for all supplied packages. This is necessary when performing a yum upgrade involving multiple dependent packages installed from RPM, for example when upgrading from PostgreSQL 9.0.11 to 9.0.21 on a Red Hat server.
8 years ago
Ching Yi, Chan
be9cddbddf
Refactoring for easier to read
8 years ago
Ching Yi, Chan
7cafbb5f05
Prevent memory-error from a large file
8 years ago
Soenke Ruempler
b57bcac72f
Add support for SNS notification ARNs in CloudFormation
8 years ago