Commit graph

8658 commits

Author SHA1 Message Date
Michael Scherer
4c569fd535 Add a test on jnpr.junos.utils.sw presence (#3666) 2016-05-17 10:04:16 -07:00
jhawkesworth
925b4c68ca fix formatting to avoid smart quotes, which breaks ability to copy and paste the jinja2 header from the web docs (#3671) 2016-05-17 08:37:58 -07:00
Michael Scherer
de6cdeeba6 Testing the module on freebsd fail, since module is not assigned yet 2016-05-17 00:22:08 +02:00
Michael Scherer
2449267d42 Fix the argument for acl module (#3653) 2016-05-16 14:00:15 -04:00
Matt Martz
bd1b515861 Merge pull request #3659 from sivel/travis-git-rebase
Copy over git rebase in travis from -extras
2016-05-15 17:57:47 -05:00
Matt Martz
00965a4ccd Copy over git rebase in travis from -extras 2016-05-15 17:53:52 -05:00
Matt Martz
534c4ef460 Merge pull request #3658 from sivel/fix-docker-service-docs
Revert "Fix doc strings spacing."
2016-05-15 17:50:02 -05:00
Matt Martz
9b6a7eb4f9 Revert "Fix doc strings spacing."
This reverts commit 127d518011.
2016-05-15 17:43:28 -05:00
chouseknecht
127d518011
Fix doc strings spacing. 2016-05-14 09:34:15 -04:00
chouseknecht
a81d0a6809
Fix doc strings. Missing requirements and doc fragment reference. 2016-05-14 09:13:47 -04:00
Michael Scherer
514da9550b Use the proper type for 'dest' argument 2016-05-14 12:08:39 +02:00
Toshio Kuratomi
298fd0ae56 Docs fixes 2016-05-13 11:01:19 -07:00
Dag Wieers
83a3c45a7d Fix small typo (#3642) 2016-05-13 13:10:35 -04:00
Chris Houseknecht
c350ef7060 Merge pull request #3644 from chouseknecht/devel
Fail gracefully when build path is not found.
2016-05-13 00:41:10 -04:00
chouseknecht
d63bc38481
Fail gracefully when build path is not found. 2016-05-13 00:30:36 -04:00
Toshio Kuratomi
a7e45db9e6 Add python3 compiling of specific modules (#3641) 2016-05-12 14:44:15 -07:00
Brian Coca
9ae898c902 made note about slurp memory consumption 2016-05-12 14:44:21 -04:00
Chris Houseknecht
a0e54ed46b Merge pull request #3635 from chouseknecht/devel
Fixed files/project_files naming. Correct name is files.
2016-05-12 05:34:13 -04:00
chouseknecht
3a5dd00076
Fixed files/project_files naming. Correct name is files. 2016-05-12 05:31:10 -04:00
Chris Houseknecht
2b1cd2dc98 Merge pull request #3634 from chouseknecht/devel
Flip version added back to 2.2 to make tests pass.
2016-05-12 05:07:20 -04:00
chouseknecht
22853efeed
Flip version added back to 2.2 to make tests pass. 2016-05-12 05:04:21 -04:00
Chris Houseknecht
a8373e90e3 Merge pull request #3632 from chouseknecht/docker_service
Adding docker_service
2016-05-12 04:45:29 -04:00
chouseknecht
834d2fb9fe
Moving version added to 2.1 2016-05-12 04:44:35 -04:00
chouseknecht
282b2d45df
Added actions to RETURN docs. Show actions when debug or check mode. 2016-05-12 04:42:50 -04:00
chouseknecht
c2d2189274
Removed use of --diff. Replaced 'diff' in output with 'actions'. Only show 'actions' in output if debug true. 2016-05-11 15:01:29 -04:00
chouseknecht
f69b352341 Removed fail method. Combined recreate and force_recreate params. 2016-05-11 13:50:55 -04:00
chouseknecht
d9b026dcef Adding docker_service 2016-05-11 13:50:55 -04:00
Toshio Kuratomi
9dfed7c849 Port to dual python2/python3 compat 2016-05-10 21:58:49 -07:00
Toshio Kuratomi
a355b6a1c9 Port ping to dual python3/2 compat. 2016-05-10 21:58:49 -07:00
Chris Houseknecht
f08e5608c7 Fixed parameters passing in container_create method. (#3618) 2016-05-10 17:56:57 -04:00
Johannes Meixner
24549ee80a network/*/*_config.py: Correct typo.
- Replace syntanx with syntax in all things network.
2016-05-10 10:30:28 +03:00
Mike Bryant
46957b167e junos_template: Simplify arguments. Fixes #3621
Simplify the arguments to junos_template, such that
merge/overwrite/replace can be selected easily.
2016-05-09 23:31:11 +01:00
Scott Butler
7d09339d31 Fixed typos 2016-05-06 14:34:31 -07:00
René Moser
1f5cf669dd apt: fix always changed when using deb file on Debian 8 (#3541)
Extends d74e82a3f1e3293ffb70c172e5bb2b6e1ff6dbcc with also support
downgrade.
2016-05-06 09:17:04 +02:00
James Tanner
9be870bb2a Revert "remove checking of stderr for insserv (#1846)"
This reverts commit 2ee6e4cf66.
2016-05-05 10:41:06 -04:00
Veaceslav Mindru
430e3eeebd add vlidate_certs option for unarchive module (#2635) 2016-05-05 11:25:40 +02:00
TheSameCH
2ee6e4cf66 remove checking of stderr for insserv (#1846)
stderr of insserv can also contain warnings which can be ignored. checking rc only is more accurate.
fixes #1502
2016-05-04 22:09:55 -04:00
René Moser
e29878e9f0 Merge pull request #3582 from resmo/fix/mysql
mysql_variables and mysql_user fixes
2016-05-04 19:17:10 +02:00
Brian Coca
c3ee04b842 switched to return facts 2016-05-04 08:43:11 -04:00
Brian Coca
e7d49f3308 fixed documentation and arg issues 2016-05-04 08:37:23 -04:00
hyperized
507d083d08 Added restart functionality to ec2.py 2016-05-04 09:12:02 +02:00
n0trax
1eac4c5608 Add checkmode and reduce code duplication (#2417)
- httpd removed from control_binaries
- check for enabled module after running a2enmod/a2dismod
- fail, if user has no permissions to run control_binary
- reduce code duplication
2016-05-04 01:08:56 +02:00
Toshio Kuratomi
9db1233521 Fix documentation 2016-05-03 10:10:51 -07:00
John R Barker
bb9572ca86 ansible-validate-modules part 4: Enable check on ansible-modules-core (#3526)
* Call ansible-validate-modules

* Correct quotes + add newline
2016-05-03 07:51:12 -07:00
Toshio Kuratomi
4a8a292793 bytearray isn't available in python2.4 (#3583)
* Detection of handler depends on the wrong handler failing to list the contents of the tarfile.

Use explicit compression types with the python tarfile library to
achieve that.

* bytearray isn't available in python2.4
2016-05-02 11:29:04 -07:00
Toshio Kuratomi
0ec3b06208 Detection of handler depends on the wrong handler failing to list the contents of the tarfile. (#3584)
Use explicit compression types with the python tarfile library to
achieve that.
2016-05-02 11:27:44 -07:00
Rene Moser
051744f7b5 mysql_user: fix unresolved reference
L282, module is used but not passed into function. Replaced check_mode reference and used module instead since check_mode is also in module.
2016-05-02 18:42:31 +02:00
Rene Moser
9765a30179 mysql_variables: fix inconsistent params, fixes ubuntu 16.04 support
In the mysql_user module, login_host is defined as "localhost". Setting this to localhost also fixes Ubuntu 16.04 support.

To make it more consistent in the future, the params in all mysql modules should move to module utils. I'll take care.

Also fixed a few other things along.
2016-05-02 18:38:07 +02:00
Pomin Wu
f78509d0cf Fixed #3577 (#3578)
Initialize `upgradable` before use.
2016-05-02 09:38:29 -04:00
Virgil Dupras
82aeaed45d unarchive: use Python's tarfile module for tar listing (#3575)
* unarchive: use Python's tarfile module for tar listing

fixes https://github.com/ansible/ansible/issues/11348

Depending on the current active locale, `tar`'s file listing can end up
spitting backslash-escaped characters. Unfortunately, when that happens,
we end up with double-escaped backslashes, giving us a wrong path,
making our action fail.

We could try un-double-escaping our paths, but that would be complicated
and, I think, error-prone. The easiest way forward seemed to simply use
the `tarfile` module.

Why use it only for listing? Because the `unarchive` option also
supports the `extra_opts` option, and that supporting this would require
us to mimick `tar`'s interface.

For listing files, however, I don't think that the loss of `extra_opts`
support causes problems (well, I hope so).

* unarchive: re-add xz decompression support

Following previous change to use Python's `tarfile` module for tar file
listing, we lost `xz` decompression support. This commits re-add it by
adding a special case in `TarXzArchive` that pre-decompresses the source
file.
2016-05-01 17:34:43 -07:00