Commit graph

8819 commits

Author SHA1 Message Date
Daniel Petty
a4e6e6e2ef fixed $source null check, reference to $Params
$source check causes:
FAILED! => {"changed": false, "failed": true, "msg": "A parameter cannot be found that matches parameter name 'Source'."}

$Params.Remove causes:
FAILED! => {"changed": false, "failed": true, "msg": "Method invocation failed because [System.Management.Automation.PSCustomObject] does not contain a method named 'Remove'."}
2016-05-25 17:00:12 -06:00
Brian Coca
fb77ab49ab first draft systemd service plugin (#3660)
* first draft systemd service plugin

* now systemd status handles multiline values
2016-05-25 17:20:08 -04:00
chouseknecht
904d947172 Fix for issue 3740. Make docker_service more resilient when targeting older API versions. 2016-05-25 16:38:38 -04:00
Brian Coca
d8b67bdeb0 deprecated docker (#3710)
* deprecated docker

* updated formatting
2016-05-25 15:08:45 -04:00
Alvaro Aleman
7f7b9054fd Fix can_update test in os_subnet (#3664) 2016-05-25 08:52:51 +02:00
René Moser
215da19511 Add no_gateway_ip option to os_subnet module (#3736)
no_gateway_ip option can provide subnet that is not having a gateway.
fixes #1880
2016-05-25 08:42:11 +02:00
james-prior
170ce382af Make explicit that virtualenv is created if needed for pip module. (#3731)
packaging/language/pip.py:
    virtualenv option:
        Mention that virtualenv is created if it does not exist.
            (Explicit is better than implicit.)
        Mention other relevant options.
    notes:
        initialized -> created
    Wrap long lines.
2016-05-24 20:50:33 -07:00
Doug Luce
ec0f2113e0 Fix S3 unavailable region error
This is to address this error:

  fatal: [site]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to connect to S3: Region  does not seem to be available for awsmodule boto.s3. If the region definitely exists, you may need to upgrade boto or extend with endpoints_path"}

Commit 0dd58e9 changed the logic so an exception is thrown (by
`connect_to_aws`) before the `s3 is None` check is performed. This
changes the `None` check to a catch so the old logic can compensate.
2016-05-24 20:37:12 -07:00
Ghe Rivero
c5430d0f92 Make add ip_floating_ip idempotent
Closes issue #1858
2016-05-25 00:36:28 +02:00
Ryan Brown
aa995806b9 Merge pull request #3320 from hyperized/patch-1
Added restart functionality to ec2.py
2016-05-24 10:49:16 -04:00
Marcos Diez
873a7435df Added one extra example in the authorized_key module. (#3637) 2016-05-24 14:50:22 +02:00
Marcos Diez
9e197a5f78 The documentation of lineinfile now makes reference to blockinfile (#3639) 2016-05-24 14:49:09 +02:00
Jiri Tyr
4cb16a0f66 Removing double definition in postgresql_user module (#3714)
This commit is removing double definition of variables in the
grant_privileges function of the postgresql_user module.
2016-05-24 14:47:50 +02:00
Ken Mitchell
b903c54bac Proposed fix to not require src and fstype arguments for mount. Issue #1259. (#1357) 2016-05-23 11:20:10 -04:00
Michael Scherer
b78d708678 Port vsphere_guest to py3/py2.4 syntax (#3721) 2016-05-23 09:36:24 -04:00
Michael Scherer
3a20fc4d0c Fix wait_for to compile on python3 (#3722) 2016-05-23 09:34:27 -04:00
Peter Sprygada
39693305cf Merge pull request #3623 from ocadotechnology/wip-3621
junos_template: Simplify arguments. Fixes #3621
2016-05-23 09:22:55 -04:00
Michael Scherer
a64d72d7bc Improve error reporting when git binary fail (#3266)
Showing stderr or stdout is a great help to understand
when something go south.
2016-05-20 09:45:53 -07:00
Michael Scherer
75715a1b73 Convert packaging/* to py3/py2.4 syntax (#3702) 2016-05-20 07:48:10 -07:00
Kenny Woodson
5474da09bc Unindenting the delete to user (#3147) 2016-05-20 10:26:19 -04:00
Ryan Brown
58bb2fc4f6 Allow users to pick AWS Aurora as an RDS engine (#3414)
Per the [RDS docs](http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html),
add `aurora` as a valid DB engine.
2016-05-20 10:25:27 -04:00
Nathan Brown
97f6daa854 Do not expect the elb to have policies or instances. Fixes #3593 (#3595) 2016-05-20 09:47:13 -04:00
kwerey
1bfc33728b Add option to make RDS param groups for the MySQL 5.7 engine family. (#3695) 2016-05-20 09:45:11 -04:00
Gilles Gagniard
8231a1afc8 better error message if libcloud is not recent enough to use gce subnetworks 2016-05-20 03:53:27 -04:00
Lloyd Hazlett
3cf40d9596 Add path type to argument_spec where applicable (#3040) 2016-05-20 07:36:40 +02:00
Matt Martz
1d87213de1 2 Module fixes (#3611)
* Fix syntax error in azure_rm_virtualmachine.py

* Allow rhn_register to fail gracefully when rhn-client-tools is not installed
2016-05-20 07:35:43 +02:00
jctanner
76b7de943b Do not ignore the primary group if modifying the list of secondary groups. (#3585)
Fixes #1118
2016-05-19 22:37:57 -04:00
Toshio Kuratomi
521370459c Py3 exclude list (#3698)
* Fix a few modules to pass syntax checks under python3

* Move from a whitelist of modules to check for python3 compat to a blacklist
2016-05-19 15:34:59 -07:00
Cheuk Lam
d3097bf580 Added support for accepting extra config options in vm reconfiguration. (#3327) 2016-05-19 17:13:00 +02:00
Chris Houseknecht
23c5181d1d Merge pull request #3705 from chouseknecht/devel
Fixed the URL in description. It's now valid Yaml.
2016-05-19 10:09:32 -04:00
chouseknecht
a8bf8260aa
Fixed the URL in description. It's now valid Yaml. 2016-05-19 10:00:21 -04:00
Chris Houseknecht
b83bd873ea Merge pull request #3704 from chouseknecht/devel
Remove the U().
2016-05-19 09:44:55 -04:00
chouseknecht
3d43ccae1e
Remove the U(). 2016-05-19 09:41:11 -04:00
Gilles Gagniard
c859a9d339 fix documentation to reflect subnetwork option is new in ansible 2.2 2016-05-19 06:21:28 -04:00
Gilles Gagniard
2a008998fd Initial support for specifying in which subnetwork a gce instance should be created. This is required for non-legacy networks. 2016-05-19 03:53:49 -04:00
Chris Houseknecht
582d9f3e5f Merge pull request #3697 from chouseknecht/docker-docs
Make sure users know where to find the full docker picture.
2016-05-18 15:04:00 -04:00
chouseknecht
fe45ec9d9e
Uppercase 2016-05-18 15:03:10 -04:00
chouseknecht
10ee35ff26
Make the new bits a NOTE 2016-05-18 14:35:20 -04:00
chouseknecht
1825a73c40
Where to get the full docker picture. 2016-05-18 13:34:13 -04:00
Michael Scherer
cc99fe24fc Convert the network subfolder to py3/py2.4 syntax (#3690) 2016-05-18 09:08:30 -07:00
Peter Sprygada
368f8f0ac7 Merge pull request #3693 from keinohguchi/json_non_string_key_fix
ops_template.py: Change integer key into stirng
2016-05-18 10:47:27 -04:00
Michael Scherer
20342860ad Convert all databases modules to python3 and 2.4 syntax (#3688) 2016-05-18 07:07:21 -07:00
Michael Scherer
69ea617093 Convert the whole files/ directory to py3 syntax (#3685) 2016-05-18 07:01:53 -07:00
Kei Nohguchi
14e13f68a5 ops_template.py: Change integer key into stirng
This fix passing the update variable to the str()
so that it avoids the exception when ops.dc.read()
returns a dictionary which contains non-string keys.

This is due to the fact that some of the key types in
OpenSwitch schema are actually defined as integer
and ops.dc declerative config module encode those
in integer inside the dictionary.  This could be
the right encoding from the schema point of view
but someone needs to convert it to the string
somewhere, as JSON key should be string.
2016-05-18 07:01:38 -07:00
Kaz Cheng
f87f0ec277 Allow create_iam_role to return an additional value of role_result and (#2418)
instance_profile_result, in addition to the existing role list and change value
2016-05-18 09:06:11 -04:00
Peter Sprygada
1ab2c3a737 Merge pull request #3627 from xmj/devel
network/*/*_config.py: Correct typo.
2016-05-18 07:03:39 -04:00
Peter Sprygada
f71e00f0bf Merge pull request #3612 from dharmabumstead/devel
Fixed typos
2016-05-18 06:59:09 -04:00
Shubham
64b104ac37 remove module argument, fix #3682 (#3683) 2016-05-17 14:36:05 -04:00
Toshio Kuratomi
92bf802cb8 Thanks to @mscherer, we can now syntax check all of system for py3 compat 2016-05-17 10:31:00 -07:00
Michael Scherer
a62f088a24 Port seboolean to py3/py2.4 syntax (#3679) 2016-05-17 10:23:06 -07:00