Commit Graph

6004 Commits (8ab439498c9c079abf0ef54e69ddcf1acd8e6f3e)
 

Author SHA1 Message Date
Will Thames b4515c8909 Update postgresql users only when necessary
For read-only databases, users should not change when no changes
are required.

Don't issue ALTER ROLE when role attribute flags, users password
or expiry time is not changing.

In certain cases (hashed passwords in the DB, but the password
argument is not hashed) passlib.hash is required to avoid
running ALTER ROLE.
10 years ago
David Shrewsbury 4a233a5a8f Recognize when volume attach/detach is not necessary
Do not attempt to attach an already attached volume.
Likewise, do not attempt to detach a volume that is not
attached.

This version adds support for check mode.
10 years ago
Heikki Partanen 91ca2d6386 Add support for extra_hosts to docker module
extra_hosts parameter (maps to --add-host in 'docker run' syntax) is used
to add host-to-ip mappings to the container.
10 years ago
Brian Coca 5f58240d17 Merge pull request #1093 from kylejohnson/rds-subnet-group-typo-1092
Fix typo in rds_subnet_group.py.  Fixes #1092
10 years ago
Brian Coca 1d6d3fece7 added docs to show wait_for default timeout settings
Fixes #400
10 years ago
James Cammarata 4558cb71f4 Merge branch 'osx_user_fix' of https://github.com/bambou42/ansible-modules-core into bambou42-osx_user_fix
Includes commits for:
* Don't return change if the password is not set
* Set the group to nogroup if none is specified
* Set an uid if none is specified
* Test if SHADOWFILE is set (for Darwin)
* remove unused uid
10 years ago
Niels de Vos 011d240abc redhat_subscription: add the `org_id` parameter
When subscribing a system with an activationkey, it seems (sometimes?)
required to pass the "--org <number>" parameter to subscription-manager.
Activation Keys can be created through the Red Hat Customer Portal, and
a subscription can be attached to those. This makes is easy to register
systems without passing username/passwords around.

The organisation ID can be retrieved by executing the following command
on a registered system (*not* the account number):

  # subscription-manager identity

URL: https://access.redhat.com/management/activation_keys
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
10 years ago
James Cammarata d09d78e7be Merge pull request #1070 from ktdreyer/rhsm/activationkey-args
redhat_subscription: fix activationkeys argument
10 years ago
Kyle Johnson 86ed1cd0a9 Fix typo in rds_subnet_group.py
aws_connection_kwargs should be aws_connect_kwargs
10 years ago
Sam Kottler 7e1d63136f Merge pull request #998 from linefeedse/digitalocean-user-data
DigitalOcean API version 2 with user_data option
10 years ago
bugchecker 496f9ca180 prevent using undefined variable 10 years ago
Brian Coca 4d9ce9cf2c Merge pull request #1032 from jder/fix-rds-vpc-groups
Update rds module for RDS2 parameter name change.
10 years ago
Brian Coca 9b5e8e36a9 Merge pull request #1079 from sivel/gc-storage-no-dict-comp
gc_storage: Don't use a dict comprehension
10 years ago
Matt Martz 1e94fc5ab5 Don't use a dict comprehension, be more verbose 10 years ago
Matt Martz ba7ad8e7f5 Add version_added for the use_ssh_args option 10 years ago
Matt Martz f431b4817b Add ability to specify using ssh_args in synchronize 10 years ago
Brian Coca de4c7f8ba6 switched to use python's built in os.separator vs using / 10 years ago
Brian Coca c01a18d5ca minor docfixes 10 years ago
Brian Coca eed47383e4 Merge pull request #1040 from emonty/feature/os_auth
Add OpenStack Auth module
10 years ago
Ken Dreyer bd617353cb redhat_subscription: fix activationkeys argument
Prior to this commit, Ansible would pass '--activationkeys <value>' as a
literal string, which the remote server would interpret as a single
argument to subscription-manager.

This led to the following failure message when using an activation key:

  subscription-manager: error: no such option: --activationkey "mykey"

Update the arguments so that the remote server will properly interpret
them as two separate values.
10 years ago
Jesse Rusak 030703f4ca Update rds module for RDS2 parameter name change.
boto's rds2 renamed `vpc_security_groups` to `vpc_security_group_ids`
and changed from a list of `VPCSecurityGroupMembership` to just a
list of ids. This accommodates that change when rds2 is being used.
10 years ago
Toshio Kuratomi 04c34cfa02 Merge pull request #1062 from steenzout/devel
issue #994: use HAS_BOTO to determine if import was successful
10 years ago
steenzout d960dc1584 issue #994: use HAS_BOTO to determine if import was successful:
- removed import of sys module.
- HAS_BOTO constant to check if import was successful.
- trigger a failure when import fails.
- removed unnecessary imports.
10 years ago
Eric Johnson 07a694647b Merge pull request #1010 from richtier/gc_storage_upload_headers
gc_storage allow setting headers
10 years ago
Richard Tier 9aa8879f0f added version to docstring 10 years ago
Toshio Kuratomi 16ece8f87c Merge pull request #1039 from smashwilson/docker-facts
[docker] Record facts containing each changed container.
10 years ago
Monty Taylor faf5106b7e Merge pull request #1050 from ansible/revert-1049-feature/os_router_gateway
Revert "Add OpenStack Router Gateway module"
10 years ago
Monty Taylor 5f40922505 Revert "Add OpenStack Router Gateway module" 10 years ago
Monty Taylor e6be0aa0f6 Merge pull request #1049 from emonty/feature/os_router_gateway
Add OpenStack Router Gateway module
10 years ago
Monty Taylor d7e65eab41 Add OpenStack Volume module 10 years ago
Monty Taylor 5d7b6aae04 Add OpenStack Subnet module
Also deprecated old quantum_subnet module
10 years ago
Monty Taylor f6cf1411a1 Add OpenStack Server Volume module 10 years ago
Monty Taylor cb6ebb1c03 Add OpenStack Server facts module 10 years ago
Monty Taylor 385869e86a Add OpenStack Router Gateway module
Also deprecate old quantum_router_gateway module
10 years ago
Monty Taylor c9f1e441f5 Add OpenStack Auth module
Use this to pre-auth or to get a copy of the service catalog.
10 years ago
Ash Wilson 45b067f097 Record facts for each changed container. 10 years ago
Brian Coca 6e373ace86 corrected version added 10 years ago
Brian Coca c4a22478c4 Merge pull request #830 from BlackMesh/devel
mysql_user #829: add update_password to mysql_user
10 years ago
Brian Coca e6e3ade6fa added support for postgres9.4 which is now available from amazon 10 years ago
Brian Coca 613961c592 really fixed docs this time 10 years ago
Brian Coca 99391f861d fixed doc issues on cloudformation 10 years ago
Brian Coca bdef699596 Merge pull request #999 from DavidWittman/service-upstart-bug
[service] Fix bug with upstart detection
10 years ago
Brian Coca bbb0a38fa3 Merge pull request #957 from stansonhealth/devel
postgres_user: skip password changes so pg_authid isn't needed
10 years ago
tedder bffd137edd code review fixes per #957 10 years ago
tedder 472331a53b skip password changes so pg_authid isn't needed
Some places ([AWS RDS](https://forums.aws.amazon.com/thread.jspa?threadID=151248)) don't have, or don't allow, access to the `pg_authid` table. The only reason that is necessary is to check for a password change.

This flag is a workaround so passwords can only be set at creation time. It isn't as elegant as changing the password down the line, but it fixes the longstanding issue #297 that prevented this from being useful on AWS RDS.
10 years ago
Brian Coca 3738339b90 Merge pull request #366 from Rob-Johnson/cloudformation-url
cloudformation: allow template_url parameter
10 years ago
Rob Johnson ea1ffc6d19 allow both template and template_url parameters 10 years ago
Brian Coca d27df0cdb4 Merge pull request #334 from adamchainz/cloudformation_dont_always_need_template
Make cloudformation module's template argument not required in case of stack deletion
10 years ago
Brian Coca 1865ddbbdf Merge pull request #339 from lorin/instance_id
ec2 module: add instance_id alias
10 years ago
Brian Coca e94956d39d Merge pull request #1029 from 47lining/sts_support_s3_fix_v3
clean rebase of https://github.com/ansible/ansible-modules-core/pull/102...
10 years ago