Commit graph

8932 commits

Author SHA1 Message Date
Gabriele
8cb463d250 Fixing bug, added missing param (#3737) 2016-05-27 06:56:03 +02:00
Dmitry Marakasov
68cb864aad Fix crontab argument order for writing (#3750)
Currently, when writing user's crontab, ansible calls

    crontab <file> -u <user>

This is incorrect according to crontab(1) on both FreeBSD and Linux,
which suggest that file argument should be the last.

At least on FreeBSD, this leads to incorrect cron module bahavior which
writes to root's crontab instead of users's
2016-05-27 06:54:03 +02:00
Gabriele
866315eb77 Modified nxos_config (#3522)
* Modified nxos_config

* Resolving conflict
2016-05-27 06:49:23 +02:00
Dag Wieers
9f973aefb1 Add unpack results to error output, for debugging purposes on failure
This may help understand what is going on with #3631
2016-05-26 18:43:22 -07:00
Toshio Kuratomi
ca4140134d Python2.4's zipfile library cannot handle zip 64bit extensions which are needed for > 64K files (#3754)
Fallback to unzip if zipfile fails and hope that unzip can deal with it
(sites have an easier time upgrading the unzip utility than all of
python).

https://bugs.python.org/issue3997

Fixes #3560
2016-05-26 16:40:50 -07:00
Wolfgang Powisch
061555cefb Update junos_facts.py (#3759) 2016-05-26 19:19:04 -04:00
Brian Coca
96b2bc9084 fixed enabled reporting 2016-05-26 13:55:48 -04:00
Brian Coca
beb9ff9170 fixed typo 2016-05-26 13:22:21 -04:00
Brian Coca
d03914ed63 added state in results for backwards compat 2016-05-26 13:20:49 -04:00
Chris Houseknecht
78c93d3ce5 Merge pull request #3753 from chouseknecht/fix_azure_virtualnet
Fix missing key error when updating existing virtual network.
2016-05-26 12:19:39 -04:00
chouseknecht
97f16b52cf
Fix missing key error when updating existing virtual network. 2016-05-26 11:48:58 -04:00
Chris Houseknecht
ddb0b53c66 Merge pull request #3745 from chouseknecht/fix_3740
Fix for issue 3740. Make docker_service more resilient when targeting…
2016-05-26 11:46:41 -04:00
Roberto Bampi
423209d187 Add an example for SRV record in route53 (#3749) 2016-05-26 10:45:02 -04:00
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