Commit graph

8445 commits

Author SHA1 Message Date
chouseknecht
3292121e6d
Fixed issues post testing. 2016-05-30 15:04:43 -04:00
chouseknecht
8cd028bd8e First pass at implementing networks parameter. Also added purge_networks option to remove container from networks not included in networks param. 2016-05-30 12:03:11 -04:00
Chris Houseknecht
e8f80c091a Merge pull request #3787 from chouseknecht/fix_3768
Fix for 3768 - adding support for env_file
2016-05-29 10:33:06 -04:00
chouseknecht
23816c9c04 Fix for 3768 - adding support for env_file 2016-05-29 10:27:07 -04:00
Jan Fader
7c08f10900 fix for #3706 (#3778) 2016-05-29 06:52:18 -07:00
Chris Houseknecht
4d8f7d161b Merge pull request #3776 from danschmidt5189/fix-docker_container-typo
Fix "ansbile_facts" typo in docker_container module
2016-05-29 09:42:04 -04:00
Chris Houseknecht
c659c31a1e Merge pull request #3786 from chouseknecht/fix_3775
Fix for issue #3775 - env config comparison
2016-05-29 09:40:54 -04:00
chouseknecht
cba5b37c9f
Check self.parameters.env exists. 2016-05-29 09:36:17 -04:00
chouseknecht
c419d351c5 Fix for issue #3775 - env config comparison 2016-05-29 09:32:52 -04:00
Chris Houseknecht
948a7c8b0b Merge pull request #3785 from chouseknecht/fix_3779
Fix restart_poicy
2016-05-29 08:33:57 -04:00
chouseknecht
651133469c
Update restart_policy doc strings. 2016-05-29 08:29:52 -04:00
chouseknecht
6aa4feb459
Fix restart_poicy 2016-05-29 08:20:59 -04:00
Chris Houseknecht
9a1387f255 Merge pull request #3784 from chouseknecht/fix_3783
Fix for #3783 - command returns not found or does not exist.
2016-05-29 07:18:09 -04:00
chouseknecht
af0aa8247d
Fix for #3783 - command returns not found or does not exist. 2016-05-29 06:54:46 -04:00
Dan Schmidt
31d21efbc5 Fix "ansbile_facts" typo in docker_container module 2016-05-28 00:33:03 -07:00
Erik Nadel
7491a11581 Added statement about escaping characters in chron tasks (#3770) 2016-05-27 14:46:43 -04:00
Chris Houseknecht
90e8a36d4c Merge pull request #3347 from dougluce/fix-s3-region-error
Fix S3 unavailable region error
2016-05-27 13:41:29 -04:00
David Fischer
d8ad80ae0f Add MariaDB to valid RDS engines (#3337)
* Add MariaDB to valid RDS engines

* Update RDS module documentation
2016-05-27 11:49:42 +02:00
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
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
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