Commit graph

6293 commits

Author SHA1 Message Date
Toshio Kuratomi
761fc8d277 Tar --diff only sends output to stderr if a file is missing. Handle that case
Fixes #1064
2015-04-15 05:05:41 -07:00
Toshio Kuratomi
b668ecc4a3 Merge pull request #1119 from ubergeek42/patch-1
Make link clickable
2015-04-15 03:35:32 -07:00
James Cammarata
74e69d1fd1 Merge branch 'nixpanic-rhsm/org_id' into devel 2015-04-14 13:57:42 -05:00
James Cammarata
c9f0c87b59 Add version_added string to new org_id param in rhn_subscription 2015-04-14 13:56:55 -05:00
James Cammarata
1248c1f730 Merge branch 'rhsm/org_id' of https://github.com/nixpanic/ansible-modules-core into nixpanic-rhsm/org_id 2015-04-14 13:34:21 -05:00
Brian Coca
727c9131c8 Merge pull request #1138 from bcoca/service_fix
simplified bad if chain
2015-04-14 14:04:28 -04:00
Brian Coca
f1d72ea004 simplified bad if chain
hopefully fixes #1136
2015-04-14 13:54:42 -04:00
Brian Coca
1e026cb8ac find module
updated to be able to get checksums and stat data, also now it only stats a file once so it should be quite faster on large file sets
2015-04-13 21:54:20 -04:00
Brian Coca
da59efbc4b Merge pull request #623 from mscherer/small_yum_cleanup
Remove unused option in yum's repoquery call
2015-04-13 17:04:51 -04:00
Brian Coca
5e970f79e3 Merge pull request #1012 from DavidWittman/yum-disable-enable-ordering
[yum] Set disabled repos before enabled repos
2015-04-13 16:42:11 -04:00
Brian Coca
61f664bc47 Merge pull request #251 from davidfritzsche/patch-1
Add working status detection for pf on FreeBSD
i'm going to merge this to give you a usable workaround, still I consider this a bug in the init script.
2015-04-13 12:36:13 -04:00
Toshio Kuratomi
509403a50d Merge pull request #1087 from bugchecker/devel
prevent using undefined variable
2015-04-13 08:47:51 -07:00
Jan Brauer
fcea4e1884 Add missing comma 2015-04-10 19:05:57 -04:00
Brian Coca
788230c43e ifxed error message as code remove the repo r var 2015-04-10 14:59:52 -04:00
Brian Coca
f7062fc6d2 Merge pull request #1123 from schmitch/patch-1
Fixes #1122: Removed the wrong note
2015-04-10 13:16:54 -04:00
Schmitt Christian
9ebef6275d Removed the wrong Note
Currently as already in the description, this module works with proxy settings.
2015-04-10 12:19:28 +02:00
Keith Johnson
7dc1e77263 Make link clickable 2015-04-09 15:44:00 -04:00
Brian Coca
937a74fb47 Merge pull request #1114 from nacyot/devel
Fix typo and indent in ec2_vol.py
2015-04-09 12:18:49 -04:00
Daekwon Kim
7684059044 Fix indent of "register" key 2015-04-09 19:10:49 +09:00
Daekwon Kim
88639ae8be Fix typo (volue -> volume) 2015-04-09 19:09:42 +09:00
Brian Coca
fc9114d528 Merge pull request #1098 from bcoca/wait_for_default_docs
added docs to show wait_for default timeout settings
2015-04-08 10:09:03 -04:00
Brian Coca
3b9756e0cd minor doc fixes 2015-04-08 03:20:28 -04:00
Will Thames
c956c65731 Usage is not a valid database or table privilege
Remove `USAGE` from the `VALID_PRIVS` dict for both database and
table because it is not a valid privilege for either (and
breaks the implementation of `has_table_privilege` and
`has_database_privilege`

See http://www.postgresql.org/docs/9.0/static/sql-grant.html
2015-04-08 13:00:50 +10:00
Will Thames
7d66da35a7 Perform privilege grants/revokes only when required
Use `has_table_privileges` and `has_database_privileges`
to test whether a user already has a privilege before
granting it, or whether a user doesn't have  a privilege
before revoking it.
2015-04-08 12:48:45 +10:00
James Martin
b67e1a1ce9 Streamlined rolling udpate algorithm. Still need to account for partials, and not waiting for instances if we're mass terminating them. 2015-04-07 22:16:28 -04:00
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.
2015-04-08 11:17:11 +10:00
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.
2015-04-07 14:37:06 -04:00
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.
2015-04-07 10:30:14 +03:00
Brian Coca
5f58240d17 Merge pull request #1093 from kylejohnson/rds-subnet-group-typo-1092
Fix typo in rds_subnet_group.py.  Fixes #1092
2015-04-06 21:17:29 -04:00
Brian Coca
1d6d3fece7 added docs to show wait_for default timeout settings
Fixes #400
2015-04-06 20:41:57 -04:00
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
2015-04-06 13:05:11 -05:00
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>
2015-04-06 22:23:59 +05:30
James Cammarata
d09d78e7be Merge pull request #1070 from ktdreyer/rhsm/activationkey-args
redhat_subscription: fix activationkeys argument
2015-04-06 10:03:46 -05:00
Kyle Johnson
86ed1cd0a9 Fix typo in rds_subnet_group.py
aws_connection_kwargs should be aws_connect_kwargs
2015-04-06 10:00:17 -04:00
Sam Kottler
7e1d63136f Merge pull request #998 from linefeedse/digitalocean-user-data
DigitalOcean API version 2 with user_data option
2015-04-05 15:26:54 -04:00
bugchecker
496f9ca180 prevent using undefined variable 2015-04-05 20:40:11 +05:00
Brian Coca
4d9ce9cf2c Merge pull request #1032 from jder/fix-rds-vpc-groups
Update rds module for RDS2 parameter name change.
2015-04-03 20:24:33 -04:00
Brian Coca
9b5e8e36a9 Merge pull request #1079 from sivel/gc-storage-no-dict-comp
gc_storage: Don't use a dict comprehension
2015-04-03 17:44:34 -04:00
Matt Martz
1e94fc5ab5 Don't use a dict comprehension, be more verbose 2015-04-03 16:35:16 -05:00
Matt Martz
ba7ad8e7f5 Add version_added for the use_ssh_args option 2015-04-03 10:27:33 -05:00
Matt Martz
f431b4817b Add ability to specify using ssh_args in synchronize 2015-04-03 09:42:23 -05:00
Brian Coca
de4c7f8ba6 switched to use python's built in os.separator vs using / 2015-04-03 09:06:58 -04:00
Brian Coca
c01a18d5ca minor docfixes 2015-04-02 21:07:41 -04:00
Brian Coca
eed47383e4 Merge pull request #1040 from emonty/feature/os_auth
Add OpenStack Auth module
2015-04-02 20:51:53 -04:00
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.
2015-04-02 14:21:20 -06:00
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.
2015-04-02 15:32:12 -04:00
Toshio Kuratomi
04c34cfa02 Merge pull request #1062 from steenzout/devel
issue #994: use HAS_BOTO to determine if import was successful
2015-04-02 10:07:12 -07:00
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.
2015-04-01 17:31:10 -06:00
Eric Johnson
07a694647b Merge pull request #1010 from richtier/gc_storage_upload_headers
gc_storage allow setting headers
2015-04-01 13:32:22 -07:00
Richard Tier
9aa8879f0f added version to docstring 2015-04-01 21:01:00 +01:00