Commit Graph

3797 Commits (c0ac615a07b84d789ce321cfbaf0db015c2040cc)

Author SHA1 Message Date
Richard C Isaacson 3121a7f3ec Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 86adb60a82 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 05a1883cb9 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 1ea5b04e05 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson e40fd9bb0d Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Brian Coca 463a1c21ea now stat skips md5 if file isn't readable 11 years ago
jctanner f1301f6fd9 Merge pull request #6415 from devoncrouse/devel
Fixed references to missing method in ec2 modules
11 years ago
James Tanner 6da2c37112 Fixes #6411 Return None for ec2 api endpoints that return 404 11 years ago
James Tanner bd3322824f Remove duplicate digital_ocean_droplet module 11 years ago
Devon Crouse b853778a93 Fixed references to missing method in ec2 modules
Change-Id: I9b89d433b545269d111b3c290b6411aabf58dd24
11 years ago
Michael DeHaan a689e42d32 Fix ec2_facts module by removing stray fail statement 11 years ago
Michael DeHaan 3b79a36641 Merge pull request #6409 from risaacson/migrate_booleans_bool_ec2_eip
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Michael DeHaan 9b7da52ed7 Merge pull request #6408 from risaacson/migrate_booleans_bool_digital_ocean
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard C Isaacson a1c87e6deb Fix docstring issue. 11 years ago
Richard C Isaacson 1b28e3bf41 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard C Isaacson 10f70bee49 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
Richard Isaacson 6e13c1ebe0 Merge pull request #6406 from risaacson/at_module2
This fixes what was merged in 1.5.0.
11 years ago
James Cammarata 10f7a20e60 Merge pull request #5079 from candlerb/candlerb/virt_states
Additional target states for virt module: "destroyed" and "paused"
11 years ago
James Cammarata 11f500fa2f Merge pull request #4630 from mmoya/mysql_variables-fix2
Add support for string values
11 years ago
James Tanner c73cb77689 Fix name in locale_gen docstring 11 years ago
Michael DeHaan 4a94a5d80a Merge pull request #6400 from vadimkuznetsov/bug5959
bug 5959: https://github.com/ansible/ansible/issues/5959
11 years ago
James Tanner 41b7badb13 Fix snippet imports and version_added in ufw module 11 years ago
James Cammarata 1d6750afec Merge pull request #5518 from pyykkis/ufw
UFW module (another take)
11 years ago
James Tanner 8ffb964f45 Set version_added for locale_gen 11 years ago
James Tanner da95310d86 Rename locale module to locale_gen 11 years ago
James Cammarata 74335b6e59 Merge pull request #5411 from AugustusKling/locale
locale module
11 years ago
James Tanner b3ff88d06a Fix version_added and snippet imports on new digital ocean modules 11 years ago
jctanner 748588b516 Merge pull request #4315 from mgregson/add-digital-ocean-domains
Add digital ocean domains
11 years ago
James Tanner 53777bbbc9 Fix docstring and snippet import style in portage module 11 years ago
Fabian Freyer 064722aa5e Added support for package annotations. 11 years ago
jctanner e94a4aa70f Merge pull request #4493 from sayap/portage
Add packaging module for Gentoo Portage.
11 years ago
James Cammarata f36de32863 Adding version_added field to metadata field in s3 module 11 years ago
Jake Kreider 777f0a8080 Updated S3 metadata examples 11 years ago
Jake Kreider b837e5275c Added metadata support to s3 module 11 years ago
Richard C Isaacson 85b3c4d907 nova_compute: Adding the version_added flag to user_data.
Per note in GH-5916.
11 years ago
Richard Isaacson 971199d433 Merge pull request #6403 from risaacson/nova_group
Nova group
11 years ago
Richard C Isaacson e6d099852e Bump relased in version and update module snippets.
Closes GH-5069
11 years ago
Richard Isaacson cdea88661e Merge pull request #6402 from risaacson/nova-fip
Nova fip
11 years ago
Richard C Isaacson 5fdf7f9f75 Bump relased in version and update module snippets.
Closes GH-5154
11 years ago
Vadim Kuznetsov 546d514f87 bug 5959: https://github.com/ansible/ansible/issues/5959 11 years ago
James Cammarata b95fe470c4 Fixing up some docstrings causing make webdocs to fail 11 years ago
Fabian Freyer efe7bfa74a Changed old variable names that referred to pkgin. 11 years ago
Fabian Freyer 880eaf38a6 Added support for pkgng multiple repositories.
Currently checking if pkgng >= 1.1.4, as specified in
https://wiki.freebsd.org/pkgng . I guess that's when using PKGSITE was
deprecated.
11 years ago
James Tanner 3d07db26e3 Update docstring in digital_ocean for backups_enabled version_added 11 years ago
jctanner bfd9323274 Merge pull request #5935 from zimbatm/do-backups
library/digital_ocean: Adds the missing backups_enabled create option
11 years ago
James Tanner 351ebd0b43 Update docstrings in ec2_ami_search 11 years ago
James Cammarata b10d174ab4 Merge branch 'silkapp-ec2-eip-reuse' into devel 11 years ago
James Cammarata 2b84a40d8e Renaming reuse parameter in ec2_eip and adding a version_added string 11 years ago
jctanner 7a45e04777 Merge pull request #4845 from lorin/ec2_ubuntu_ami
New module: ec2_ami_search
11 years ago
James Cammarata 89c091d689 Merge branch 'ec2-eip-reuse' of https://github.com/silkapp/ansible into silkapp-ec2-eip-reuse 11 years ago
James Tanner f0704159ae Update docstrings in ec2_vol 11 years ago
James Cammarata 67e9cbe637 Merge branch 'josephtate-devel' into devel 11 years ago
jctanner 7dcc8e2460 Merge pull request #5287 from ebrevdo/ec2_vol_existing
ec2_vol module: add support for name / id to mount volume on instance
11 years ago
James Cammarata 5d4980459f Merge branch 'drcapulet/ec2-sourcedestcheck' of https://github.com/drcapulet/ansible into drcapulet-drcapulet/ec2-sourcedestcheck 11 years ago
jctanner b2539ae5d8 Merge pull request #5454 from claco/rax_identity
Add rax_identity module
11 years ago
James Cammarata eabcbb830f Merge branch 'willthames-ec2_security_token' into devel 11 years ago
jctanner e658dc292b Merge pull request #5703 from ethercrow/fakes3
[s3] Compatibility with fakes3.
11 years ago
James Cammarata 8ca3bb4137 Updating profile/security_token version_added labels 11 years ago
Michael DeHaan 40b82a33c0 Merge pull request #5916 from tidzo/issue4992
Fix for #4992 - Add userdata to cloud/nova_compute
11 years ago
James Cammarata 430cce9df3 Merge branch 'ec2_security_token' of https://github.com/willthames/ansible into willthames-ec2_security_token 11 years ago
James Tanner cd3fcd843a Set version-added for new parameters in ec2_elb_lb and elasticache 11 years ago
Michael DeHaan 2e10e1e0d6 Merge pull request #5997 from jonasi/elasticache_vpc_security_groups
Elasticache vpc security groups
11 years ago
Michael DeHaan 2df40933f1 Merge pull request #6262 from willthames/ec2_tags_print
Allow ec2_tag module to print the tags of an instance
11 years ago
Michael DeHaan faef76b818 Merge pull request #6264 from sqs/cloud-rds-add-new-db-instance-types
Add new cloud/rds DB instance types (db.m3 and db.cr1 families)
11 years ago
Michael DeHaan 10f852a807 Update version_added for wait_timeout parameter on elb module. 11 years ago
Michael DeHaan f6878d4ada Merge pull request #6020 from bpennypacker/ec2_elb_timeout
cloud/ec2_elb module: Added wait_timeout parameter
11 years ago
Michael DeHaan 003a405182 Merge pull request #6104 from gianlucaborello/digitalocean_fix_deletion
Make sure droplet deletion works even when idempotency is achieved using 'name' and 'unique_name' rather than 'id'
11 years ago
Michael DeHaan f824a846bc Merge pull request #6230 from joshuaconner/bugfix_nova_computer_partial_server_name_match
nova_compute: fix for partial match b/w params['name'] and an existing name
11 years ago
Michael DeHaan 1eed6f46bf Merge pull request #6306 from willthames/ec2_module_clearer_failures
Make it easier to determine whether instance creation or tagging fails
11 years ago
Michael DeHaan 3af6befbae Merge pull request #6324 from scottanderson42/bugfix/route53-characters
BUGFIX: route53 module won't round-trip * and @ in records
11 years ago
Michael DeHaan 5978567509 Merge pull request #6366 from cloudify/devel
Fix for #6365: cloudformation module fails to update if stack exists
11 years ago
Michael DeHaan fd9df5f429 Merge pull request #6372 from mriedelumab/devel
Returning 'NA' when no virtualization found
11 years ago
Michael DeHaan 247d688c13 Merge pull request #6233 from garethr/aws-autoscaling-groups
Added modules to manage ec2 autoscaling groups
11 years ago
Michael DeHaan 297b048d0e Fix other reference to APT_ENV_VARS. 11 years ago
Michael DeHaan c09d4b1c7a Update apt module so that environment variables are set correctly since not going through shell. Very sorry folks, it will be addressed. 11 years ago
Michael DeHaan 0f962dba14 Missing comma in argument spec. 11 years ago
James Tanner ba0fec4f42 Force command action to not be executed by the shell unless specifically enabled 11 years ago
James Cammarata 9730157525 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
11 years ago
Matthew Riedel 5875d19f4d Returning 'NA' when no virtualization found 11 years ago
Richard C Isaacson c6fbb0059b Some cleanup. 11 years ago
Federico Feroldi b9ab31ebd8 Fix for #6365: cloudformation module fails to update if stack exists 11 years ago
Charles Duffy 18f53d9219 #6341: use shared function for parsing systemd status; check rc code 11 years ago
Charles Duffy d59973295d #6341: check systemd service status with show subcommand 11 years ago
Jarno Keskikangas 37ef39d0fa Recognize rule changes even if ufw is in disabled state.
See http://askubuntu.com/questions/30781/see-configured-rules-even-when-inactive
for the details.
11 years ago
Jarno Keskikangas 4d5340587e Insert rule to a specific num. 11 years ago
Jarno Keskikangas 0247708199 Fix typo: 'reseted' -> 'reset'. 11 years ago
Jarno Keskikangas 2613e6fb14 Add protocol options 'esp' and 'ah'. 11 years ago
Jarno Keskikangas f4e8a86c87 Add functionality and reduce complexity.
* Separate 'state', 'policy' and 'rule' commands
* Support for 'logging' command
* Support for 'direction' and 'interface' attributes
* Reliable change notifications based on 'ufw status verbose' diff
* Update documentation
* Cleanup
11 years ago
Aleksey Ovcharenko 651c04a3ec New module [ufw]: this module handles Ubuntu UFW operations
* Updated documentation related to IPv6 usage.

BugFixes:
* Solved the default_policy and state mutual exclusive status.
* Fixed changed status for IPv6 addresses.

Added @otnateos patch.
11 years ago
Hagai 748e8a7740 Add a package to missing list if npm list reported it as invalid 11 years ago
Michael DeHaan c79b5ea4b4 Merge pull request #6344 from alimony/patch-1
Touch up documentation strings for DigitalOcean.
11 years ago
Markus Amalthea Magnuson 3f681ebc52 Touch up documentation strings for DigitalOcean. 11 years ago
Dolph Mathews 8808e029f9 spelling correction for "separate"
s/seperate/separate/

http://en.wiktionary.org/wiki/separate
11 years ago
Richard C Isaacson aba86e3657 Cleaning up pep8 alerts. 11 years ago
Richard C Isaacson f3c1177265 Documentation cleanup. 11 years ago
Richard C Isaacson 7686204b43 Refactored a few things to be more inline with the Ansible way. Passing testing. 11 years ago
Charles Duffy 44ebd3f4f3 systemd template services must not discard template part 11 years ago
Richard C Isaacson a483e42583 unarchive module: Add creates functionality.
Closes GH-5354.

Forklift copy logic into unarchive. Provides integration unit tests.
11 years ago
Richard C Isaacson d6247a3583 Yum: Fix logic in yum. 11 years ago
Richard C Isaacson 47b2dc611c Look at the filename and if it has a version defined possibly process this as a downgrade. 11 years ago
Richard C Isaacson 9244283122 Spelling and formatting. 11 years ago
Cove Schneider 29f1528492 change order of copyright 11 years ago
Cove Schneider f47fe7af62 add sponsor copyright/attribution 11 years ago
Cove Schneider cbd1da6457 add yum module downgrade support 11 years ago
aresch a45bfbe06e Fix rpm_key on system with no gpg keys imported
Without the -a option, rpm command will fail (exit code 1) and execute_command() will fail causing an initial key import to not work.

[root@test ~]# rpm -q gpg-pubkey
package gpg-pubkey is not installed
[root@test ~]# echo $?
1
[root@test ~]# rpm -qa gpg-pubkey
[root@test ~]# echo $?
0
11 years ago
Scott Anderson db67c3d772 Fixes a bug that prevents round-tripping of * and @ 11 years ago
James Cammarata 5a235f9e99 Merge pull request #6318 from jimi-c/issue_5305_ec2_elb_None_issue
Adding a wait loop to ec2_elb for the initial lb state when registering
11 years ago
Michael DeHaan 616d7e53b1 Merge pull request #6305 from amree/fix-mysql-replication-port
Fixed SQL syntax error when running mysql_replication module
11 years ago
Michael DeHaan 7710867922 Merge pull request #6308 from muffl0n/file_fix_documentation
Module "file": Fix link to "path" in documentation
11 years ago
Michael DeHaan acd64bf5a1 Merge pull request #6313 from phenomenes/msg-encoding-fix
Don't use keyword `error` in encode
11 years ago
James Cammarata 9f2999df79 Un-escape newlines in delimiters for assemble module 11 years ago
Jimena Cabrera-Notari cc6e1ec261 Don't use keyword `error` in encode
This is not supported in Python 2.6. Just use positional arguments.
11 years ago
Sven Schliesing f62cc1e351 Fix link in documentation
c(dest) -> c(path)
11 years ago
willthames 4a093a9709 Make it easier to determine whether instance creation or tagging fails 11 years ago
Will Thames b9a7352e0a Work to allow security tokens and profiles to work with Ansible
Allow security tokens and profiles to be used as arguments
to the 'common' ec2 modules

Mostly refactoring to provide two new methods,
`get_aws_connection_info`, which results in a dict that can be
passed through to the boto `connect_to_region` calls, and
`connect_to_aws` that can pass that dict through to the
`connect_to_region` method of the appropriate module.

Tidied up some variable names

Works around boto/boto#2100

profiles don't work with boto < 2.24, but this detects for that
and fails with an appropriate message. It is designed to work
if profile is not passed but boto < 2.24 is installed.

Modifications to allow empty aws auth variables to be passed
(this is useful if wanting to have the keys as an optional
parameter in ec2 calls - if set, use this value, if not set,
use boto config or env variables)

Reworked validate_certs improvements to work with refactoring

Added documentation for profile and security_token to affected modules
11 years ago
amree 1d731e5c30 MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value 11 years ago
James Cammarata 25cf215f54 Create the tempdir in the accelerate module if it doesn't exist
Fixes #6047
11 years ago
jctanner 6a615f18c5 Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
Add option to enable the sysctl -e option
11 years ago
jctanner 40ee030790 Merge pull request #6265 from franckcuny/gce-fixes
Add credential parameters to the GCE modules.
11 years ago
Leo R. Lundgren dd62de0384 Fix whitespace (tabs -> spaces). 11 years ago
Leo R. Lundgren 347b425c67 Make irc module accept the nick being shortened by the server.
This can happen if the server has a NICKLEN setting which is less
than the length of the specified nick. With this patch we now grab
that nick and use it moving forward, instead of failing because we
didn't get back the one we specified, in the connection response.
11 years ago
Franck Cuny 6294264dc4 Add credential parameters to the GCE modules.
In order to simplify the workflow with the GCE modules, it's now
possible to add the parameters and project name as arguments to the
various GCE modules.

The inventory plugin also returns the IP of the host in
`ansible_ssh_host` so that you don't have to specify IPs into the
inventory file.

Some update to the documentation are also added.

Closes #5583.
11 years ago
Michael DeHaan da2126eda5 Merge pull request #6279 from techtonik/patch-1
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274)
11 years ago
anatoly techtonik a48f0da9d8 setup: Fix KeyError: 'ipv4_secondaries' (issue #6274) 11 years ago
Michael Scherer 5fd7b8010f Fix wrong module name for exception in nova compute
failed: [127.0.0.1] => {"failed": true, "parsed": false}
  invalid output was: Traceback (most recent call last):
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 1328, in <module>
      main()
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 241, in main
      except exc.Unauthorized, e:
  NameError: global name 'exc' is not defined
11 years ago
jctanner 0e494242cf Merge pull request #6271 from jimkytola/docker-image-fix
Removes pluralization of manager tag attribute.
11 years ago
Jim Kytola 186d19f224 Removes pluralization of manager tag attribute. 11 years ago
ToBeReplaced 23d4ecc2a5 Add comment about mod_admin_extra
Fixes issue #6027.
11 years ago
willthames f568140ea5 Allow ec2_tag module to list the tags of an instance
Use the list argument to state to just collect the
tags of a resource through the AWS API.
11 years ago
Quinn Slack 635fdcb533 Add new cloud/rds DB instance types (db.m3 and db.cr1 families) 11 years ago
Joshua Conner 10f36e8c62 nova_compute: remove ternary statement 11 years ago
James Tanner 39e368b713 Fix debconf docstring indentation 11 years ago
James Tanner ff1ae57fbf Merge branch 'debconf' of git://github.com/bcoca/ansible into bcoca-debconf 11 years ago
James Tanner abd7c0b565 Update cpanm module to newer module patterns 11 years ago
James Tanner 4da0428d89 Merge branch 'module-cpanm' of git://github.com/franckcuny/ansible into franckcuny-module-cpanm 11 years ago
jctanner b1a3e367b6 Merge pull request #6196 from softzilla/feature/docker_py_0.3.0_ansible
docker_image: added support for docker_py >= 0.3.0, Docker API >= 1.8. Replace #6178
11 years ago
James Cammarata 7f1989dc9c Adding a wait loop to ec2_elb for the initial lb state when registering
Fixes #5305
11 years ago
jctanner 1e01fb856d Merge pull request #6242 from scottanderson42/rds-group-modules
Adds modules for managing Amazon RDS parameter and subnet groups.
11 years ago
Scott Anderson 5c9739ae9c Adds modules for managing Amazon RDS parameter and subnet groups. 11 years ago
Gareth Rushgrove a26bc3e2f9 correct name in documentation and example 11 years ago
Gareth Rushgrove 87265cd4b3 correct version added 11 years ago
Brian Coca 400a1aa49a didnt make 1.5 ... lets see 11 years ago
Brian Coca 68510ecda8 added better gentoo/funtoo support 11 years ago
Gareth Rushgrove c770462fad Added modules to manage ec2 autoscaling groups
Includes management of Launch Configuration and related Autoscaling
Groups
11 years ago
Michael DeHaan 90655cb7b0 Fix up examples in the assert docs to match the way things work. 11 years ago
Joshua Conner ce5939c507 nova_compute: fix for partial match b/w params['name'] and an existing name
When there is an Openstack instance that has a name that's a partial match
for module.params['name'], but a server with name module.params['name']
doesn't yet exist, this module would fail with a list index out of bounds
error. This fixes that by filtering by exact name and only then getting the
server from the list if the list is still not empty.
11 years ago
Eugene Brevdo fa3d84d59e Tiny bugfix in ec2_vol documentation. 11 years ago
Michael DeHaan 4b281ca5c7 Make the npm production parameter in the docs list the choices. 11 years ago
Michael DeHaan 6c43e0e010 Simplify file module parameter description. 11 years ago
Michael DeHaan bbb88517ef Since the ec2 parameter is named 'key_name' and 'keypair' is just an alias, use
the primary name of the parameter in the examples.
11 years ago
Michael DeHaan b2c8b8ba86 Merge pull request #6222 from csinchok/patch-1
Typo in rabbitmq_plugin docs
11 years ago
Michael DeHaan 9d3a344c06 Merge pull request #6223 from lvh/patch-2
Support ssh-ed25519 keys
11 years ago
Laurens Van Houtven 80e2c597a8 Support ssh-ed25519 keys
The newest version of OpenSSH supports a new, wonderful key type. authorized_key incorrectly discards pubkeys of this type as busted because it doesn't recognize type signature.
11 years ago
James Cammarata 57486b268a Use the no-user-groups option (-N) for useradd in the user module
If no group was specified, but a group by the same name as the user
exists, an error was raised in the situation where USERGROUPS_ENAB is
enabled in /etc/login.defs (which is the case for almost every major
linux distro). In this case, the user will be put in group 100 (which
is usually the "users" group on those same distros). This is currently
only done in the base class, as the issue may not exist on other
platforms like AIX or the BSDs.

Fixes #6210
11 years ago
Chris Sinchok 796ac6d01c Typo in rabbitmq_plugin docs
Should be "plugins", not "users".
11 years ago
Richard C Isaacson f17e549ff9 Typo fix. 11 years ago
Richard C Isaacson 809b714bfc Replace mode with octal renaming to mode.
Closes GH-6176

This way for mode we return in an octal format which is immediately usable compared to transforming it later.
11 years ago
Richard Isaacson cca7fd3c0c Merge pull request #1 from bcoca/stat_updaates
added octal representation of mode and made md5 checksumming optional
11 years ago
Andy Trevorah 1280269866 apt_repository: autoinstall python-apt if not available 11 years ago
Richard Isaacson 44da82c90f Merge pull request #6218 from risaacson/issues_6194
Copy Module: Add the ability to set directory attributes on recursive copy.
11 years ago
Richard C Isaacson 7b6c7366d1 Minor cleanup. 11 years ago
Richard C Isaacson 890202e4c0 copy module: cleanup and if directory_mode not set default to umask 11 years ago
jctanner 42a2586dfa Merge pull request #6171 from joshuaconner/update_to_docker-py_0.3.0
docker: update to docker-py 0.3.0, plus full port binding support etc. from #5639
11 years ago
Richard C Isaacson cf4a6b39cc Copy Module: Add the ability to set directory attributes on recursive copy.
Closes GH-6194.

These changes pass attribute modifications through to new directories during a recursive copy with an addition allowing for the directory mode to be set independantly.
11 years ago
James Tanner aeccbeeed2 add failsafe comment for install_repoquery 11 years ago
James Tanner 122a7021bc remove install_repoquery docstring 11 years ago
James Tanner 3f43fa529d Install yum-utils by default 11 years ago
James Tanner 58c78539bb Fix typo 11 years ago
James Tanner da210522f3 Fix up docstring type and extra info about list 11 years ago
James Tanner 79fb252dc9 Update docstring for rhn details 11 years ago
James Tanner f89e5315af Add install_repoquery parameter to the yum module 11 years ago
Michael DeHaan 829f959dce Merge pull request #6201 from cchurch/devel
Escape subversion parameters for running svn commands
11 years ago
Richard Isaacson 73fa767a6b Added instance_tenancy functionality per social request. 11 years ago
Gareth Armstrong 02477eef69 Fix issue 5621, rpm_key doesn't work for el5 11 years ago
Chris Church 5c2c29e71f Pass svn arguments as a list of strings instead of using string substition to ensure all parameters are escaped properly. 11 years ago
James Cammarata 32a2636dc7 Add expanduser calls on src/dest in the module too 11 years ago
James Cammarata 3274785350 Merge pull request #5689 from pgehres/devel
Adding the region to the output of the ec2 module's creation of a new in...
11 years ago
Pavel Antonov 21a7bace77 Support docker_py >= 0.3.0, Docker API >= 1.8, extended error reporting 11 years ago
James Cammarata bb5da4c5f6 Merge branch 'devel' of https://github.com/josephtate/ansible into josephtate-devel
Conflicts:
	library/cloud/ec2
11 years ago
James Cammarata d6b912c429 Modifying the wait logic for newly created images to avoid tracebacks
Fixes #4619
11 years ago
James Cammarata e659d55d62 Merge branch 'devel' of https://github.com/muffl0n/ansible into muffl0n-devel 11 years ago
James Cammarata 8a7c68dc18 Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params
Conflicts:
	lib/ansible/module_utils/ec2.py
	library/cloud/ec2
11 years ago
Michael DeHaan 404765162d Merge pull request #6184 from patrys/patch-1
Properly match existing security group
11 years ago
Patryk Zawadzki da1efee21f Properly match existing security group
If we don't care about `vpc_id` then neither should the code.
11 years ago
Guido Kollerie a000f37132 Emphasize target is on remote host. List supported file types.
From the documentation it is not immediately clear that the 'target'
option refers to a location on the remote host. This change emphasizes that.
In addition to .sql files, .bz2 and .gz files are supported for dumps and
restores. This is now documented.
11 years ago
jctanner 6fa898c511 Merge pull request #5092 from willthames/ec2_snapshot
Module to create EC2 snapshots
11 years ago
jctanner 1277b45b3c Merge pull request #5941 from sivel/rax-name-search-opts
rax module: Use regex start and end of string with name base filters
11 years ago
Brian Coca 53d71a3949 added octal representation of mode and made md5 checksumming optional
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Dustin C. Hatch 467914e3c3 filesystem: Ignore blkid cache
Sometimes, `blkid` will incorrectly return no information about a block
device, even if it exists and has a valid filesystem. This causes the
*filesystem* module to fail if *force=no*. Instructing `blkid` to use
`/dev/null` as a cache file will force it to rescan the block device on
each run, making results more consistent.

Signed-off-by: Dustin C. Hatch <admiralnemo@gmail.com>
11 years ago
Joshua Conner 9c72b52c01 docker: add 'version_added' to the appropriate documentation entries 11 years ago
Chris Church 1d6bdd451b Fix setup module to gather facts from PowerPC Macs. 11 years ago
Joshua Conner 66eb91c2f8 docker: update to docker-py 0.3.0, plus full port binding support, container names, links 11 years ago
James Tanner 0cca4a3919 Fixes #5255 yum: set disabled repos before enabled repos and fix the parameters used 11 years ago
James Cammarata 03cb2f5ffa Merge branch 'git_version_tags' of https://github.com/j2sol/ansible into j2sol-git_version_tags 11 years ago
James Cammarata cb79947054 Fixing the unicode issue in uri for EL6 platforms
Fixes #5869
11 years ago
James Cammarata 6fe369fca0 Merge branch 'usermod_fix' of https://github.com/tknguyen79/ansible into tknguyen79-usermod_fix
Conflicts:
	library/system/user
11 years ago
James Cammarata 97eededc99 Handle unicode content in the uri module properly
Fixes #5869
11 years ago
Stefan J. Betz 789ae4697c Require force for LVM shrink and remove operations in lvol. Fixes #5774
Conflicts:
	library/system/lvol
11 years ago
Michael DeHaan 05bf80751b Merge pull request #6158 from risaacson/issues_5165
If you try to resize a lvol to the current size return a changed=False and don't fail.
11 years ago
Richard C Isaacson bf30707670 If you try to resize a lvol to the current size return a changed=False and don't fail.
This addresses GH-5165 and adds the ability to check if a lvol exists.

The tests for this don't fit nicely into the current integration tests so they are below.

```
---

- name: remove any existing lv=one of vg=main
  lvol: lv=one vg=main state=absent

- name: remove any existing lv=two of vg=main
  lvol: lv=two vg=main state=absent

- name: check to see if lv=one of vg=main exists
  lvol: lv=one vg=main state=present
  ignore_errors: true
  register: lvol_result0

- name: Assert that we will get a "No size given."
  assert:
    that:
      - "'No size given.' in lvol_result0.msg"

- name: create lv=one of vg=main sized 30g
  lvol: lv=one size=30g vg=main state=present
  register: lvol_result1

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result1.changed == True"

- name: check to see if lv=one of vg=main exists
  lvol: lv=one vg=main state=present
  register: lvol_result2

- name: Assert that we did not make changes."
  assert:
    that:
      - "lvol_result2.changed == False"

- name: remove lv=one of vg=main
  lvol: lv=one vg=main state=absent

- name: create lv=two of vg=main sized 30G
  lvol: lv=two size=30G vg=main state=present
  register: lvol_result3

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result3.changed == True"

- name: reduce lv=two of vg=main to 15G
  lvol: lv=two size=15G vg=main state=present
  register: lvol_result4

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result4.changed == True"

- name: increase lv=two of vg=main to 30G
  lvol: lv=two size=30G vg=main state=present
  register: lvol_result5

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result5.changed == True"

- name: create lv=two of vg=main sized 30G when already exists at 30G
  lvol: lv=two size=30g vg=main state=present
  register: lvol_result6

- name: Assert that we did not make changes."
  assert:
    that:
      - "lvol_result6.changed == False"

- name: remove lv=two of vg=main
  lvol: lv=two vg=main state=absent
```
11 years ago