Bermudez, Jaime
6992d0d465
Merge remote-tracking branch 'upstream/devel' into feature/iam_policy_present_state_includes_policy_changes
2015-10-25 08:37:40 -04:00
Brian Coca
4072bc1da0
rearranged systemd check, removed redundant systemctl check
...
fixed unused cmd and state var assignements
2015-10-23 18:59:05 -04:00
Brian Coca
dae3718e79
Merge pull request #2341 from reactormonk/devel
...
simpler way to check if systemd is the init system
2015-10-23 18:44:01 -04:00
Simon Hafner
6233e72001
added earlier paths to systemd
...
2b583ce657
b925e72633
2015-10-24 00:20:59 +02:00
Brian Coca
486d233cbe
Merge pull request #2262 from bcoca/find_regex
...
added regex support to find
2015-10-23 17:39:49 -04:00
Brian Coca
211196bdf6
Merge pull request #2342 from chriskarel/devel
...
Update hostname.py
2015-10-23 14:52:40 -04:00
Brian Coca
ad8fd86467
Merge pull request #2338 from larsks/bug/flavor-should-return-id
...
make os_flavor return a top-level 'id' key
2015-10-23 14:52:03 -04:00
Brian Coca
0e0c28bfb1
Merge pull request #2344 from larsks/bug/allow-secgroup-list
...
allow os_server to accept a list of security groups
2015-10-23 14:51:45 -04:00
Brian Coca
3199a73927
Merge pull request #2339 from larsks/bug/keypair-should-return-id
...
make os_keypair return a top level 'id' key
2015-10-23 14:51:27 -04:00
Brian Coca
59f11aa973
Merge pull request #2336 from larsks/feature/os-subnet-returns-something
...
return information about created subnet
2015-10-23 14:51:05 -04:00
Lars Kellogg-Stedman
d82460a372
make os_router return a top level 'id' key
...
make os_router return a top-level 'id' key, much like other
os_* resources.
2015-10-23 13:32:37 -04:00
James Cammarata
5c2527d8e9
Version bump for new beta 2.0.0-0.4.beta2
2015-10-23 13:32:32 -04:00
Lars Kellogg-Stedman
a2fe8dba68
allow os_port to accept a list of security groups
...
with this commit, the `security_groups` attribute for `os_port` will
accept either a common-delimited string or ` YAML list. That is, either
this:
- os_port:
[...]
security_groups: group1,group2
Or this:
- os_port:
[...]
security_groups:
- group1
- group2
2015-10-23 09:44:07 -04:00
Brian Coca
12b0582f9e
Merge pull request #2343 from larsks/bug/secgroup-allow-empty-description
...
allow empty description attribute for os_security_group
2015-10-23 09:43:01 -04:00
Brian Coca
49a66eb8d2
Merge pull request #2337 from larsks/bug/os-network-always-unchanged
...
make os_network correctly report changed status
2015-10-23 09:42:45 -04:00
Lars Kellogg-Stedman
b0c10a7d31
allow os_server to accept a list of security groups
...
This commit allows the `security_groups` parameter of the `os_server`
module to be either a YAML list or a common-delimited string (much like
the `nics` attribute). E.g., this:
- os_nova_server:
[...]
security_groups:
- default
- webserver
Or this:
- os_nova_server:
[...]
security_groups: default,webserver
2015-10-22 22:53:05 -04:00
Ryan Sydnor
fb10161510
Add capability for stat module to use more hash algorithms
...
Specifically, the stat module now has a checksum_algorithm parameter.
This lets the module utilize one of the hash algorithms available on the host
to return the checksum of the file.
This change is backwards compatible. The checksum_algorithm defaults to
sha1 and still returns its result to the stat.checksum property.
2015-10-22 22:28:10 -04:00
Lars Kellogg-Stedman
da0fbfc564
allow empty description attribute for os_security_group
...
The `os_security_group` module would fail if there was no `description:`
attribute:
localhost | FAILED! => {
"changed": false,
"failed": true,
"msg": "Error creating security group larstest: Invalid input for
description. Reason: 'None' is not a valid string."
}
This commit makes the default description `''` rather than `None`.
2015-10-22 21:26:47 -04:00
chriskarel
32a21a9b61
Update hostname.py
...
Added support for Oracle Linux. (http://www.oracle.com/linux )
2015-10-22 16:49:34 -05:00
Simon Hafner
e65c0f896a
simpler way to check if systemd is the init system
...
According to
http://www.freedesktop.org/software/systemd/man/sd_booted.html
check if the directory /run/systemd/system/ exists.
2015-10-22 22:26:51 +02:00
Brian Coca
1ca4543e48
Merge pull request #2315 from Etherdaemon/fix_aws_iam_connection_12831
...
fixes #12831 by updating the boto iam connection method
2015-10-22 16:17:57 -04:00
Bermudez, Jaime
d5f48d29e1
Simplify logic around "present" state and skip dupes. If the policy doesn't exist or the policy document doesn't match or if we're not skipping dupes, then we go ahead and update the respective user/group/role policy.
2015-10-22 14:54:28 -04:00
Lars Kellogg-Stedman
377811dac2
make os_keypair return a top level 'id' key
...
make os_keypair return a top-level 'id' key, much like other os_*
resources.
2015-10-22 13:59:45 -04:00
Lars Kellogg-Stedman
8368da4297
make os_flavor return a top-level 'id' key
...
make os_flavor return a top-level 'id' key, much like other os_*
resources.
2015-10-22 13:56:56 -04:00
Lars Kellogg-Stedman
c54c5c8234
make os_network correctly report changed status
...
The `os_network` module was incorrectly returning changed=False whether
or not the network was created. This commit makes the changed return
value useful.
2015-10-22 13:38:32 -04:00
Lars Kellogg-Stedman
d73f5a4adb
return information about created subnet
...
make os_subnet behave like os_network in terms of returning information
about the created resource. With this commit, os_subnet will return the
created subnet in `subnet` and the subnet id in `id`.
2015-10-22 13:27:17 -04:00
Brian Coca
3fa6626094
Merge pull request #2335 from Shrews/os_router
...
Fix for routers without external interfaces
2015-10-22 12:00:26 -04:00
David Shrewsbury
5d73a9a4c5
Fix for routers without external interfaces
2015-10-22 11:52:28 -04:00
Lee Hardy
acdde856c5
- mysql: add user_anonymous parameter, which interacts with anonymous
...
users
- mysql; add host_all parameter, which forces iteration over all
'user'@... matches
2015-10-22 14:27:47 +01:00
Matt Martz
2e49d89be7
Merge pull request #2328 from emonty/bug/is-public
...
Actually pass in is_public to create_image
2015-10-21 19:46:18 -05:00
Monty Taylor
e7bdf7f7f6
Actually pass in is_public to create_image
...
Fixes #2325
2015-10-22 08:52:05 +09:00
Brian Coca
88e7dcf174
fixed mispelled description
2015-10-21 19:39:17 -04:00
Etherdaemon
08559670e5
Update try statement as pointed out by defionscode
2015-10-22 09:12:58 +10:00
Etherdaemon
d6da9c1516
Merge branch 'devel' into fix_aws_iam_connection_12831
2015-10-22 09:09:30 +10:00
Kevin Falcone
735eefb2ca
Mark this as a string so it is rendered in the docs
...
When this was treated as a boolean, sphinx was leaving the Default
column on http://docs.ansible.com/ansible/ec2_module.html blank,
implying it would use AWS's default. In reality, it passes False, which
overrides the defaults at AWS (it's possible to boot an instance which
AWS claims will always have EBS optimization without it because of this
silently passed False).
2015-10-21 16:43:50 -04:00
Brian Coca
83b5220068
clarified ping module purpose
2015-10-21 13:58:05 -04:00
Toshio Kuratomi
bc3b1abd68
Another fix for docs
2015-10-21 08:40:10 -07:00
Toshio Kuratomi
e41cde3116
Correct docs build
2015-10-21 08:36:08 -07:00
Brian Coca
2b33c92e7a
corrected docs for stat's lnk_source
...
fixes #12850
2015-10-21 09:24:44 -04:00
Toshio Kuratomi
dc51e1ae41
Mark a few parameters as no_log
2015-10-20 15:35:17 -07:00
Matt Martz
dc1f0c6f9f
Merge pull request #2319 from Shrews/os_user
...
Add OpenStack Keystone User module
2015-10-20 15:43:50 -05:00
David Shrewsbury
fde149cbe8
Clarify password requirement and add return docs.
2015-10-20 15:49:52 -04:00
David Shrewsbury
cdf7117f7e
Add OpenStack Keystone User module
...
This is a replacement for PR #1598 and fixes #283
2015-10-20 13:29:41 -04:00
Brian Coca
377aaf526c
Merge pull request #2292 from Constantin07/update_ec2_ami_find
...
Included 'block_device_mapping' in the output of module and other mis…
2015-10-20 13:07:00 -04:00
Constantin Bugneac
01b8432496
Added documentation for returned structure
2015-10-20 09:30:57 +01:00
Etherdaemon
2b2285eb67
fixes #12831 by updating the boto iam connection method to connect_to_region
2015-10-20 16:38:27 +10:00
Brian Coca
074aad23e7
final form, use_regex now controls if patterns is glob or regex
...
- fixed cases in which stat fails (dangling symlink)
- now properly reports name of skipped paths
2015-10-19 20:44:44 -04:00
Brian Coca
e603b1bb69
changed so regexes and shell globs work transparently
2015-10-19 20:44:44 -04:00
Brian Coca
fdd88863d4
fixed bug in spec
2015-10-19 20:44:44 -04:00
Brian Coca
bc4b40d8e7
added regex support to find, also added 'singular' aliasess to patterns and paths
2015-10-19 20:44:44 -04:00