Commit graph

8590 commits

Author SHA1 Message Date
Jiri Tyr
7549976dc0 Fixing wrong type of params option in yum_repository module (#2371)
This commit fixes incorrect type of the "params" option of the
"yum_repository" module. Without this fix the value of the "params"
option is read as a string instead of as a dictionary which makes
it impossible to define any additional YUM repository parameters.
2016-06-03 21:59:28 +02:00
Toshio Kuratomi
5ac13bc0c9 Remove system modules from the python3 blacklist as they are now compatible. 2016-06-03 06:31:00 -07:00
Toshio Kuratomi
d1174cc8b7 Only import get_exception once in locale_gen.py 2016-06-03 06:25:29 -07:00
Chris Weber
9e277aabb0 Fixed modules/system py files for 2.4 to 3.5 exceptions (#2367) 2016-06-03 06:23:55 -07:00
Toshio Kuratomi
3444cd1813 Remove the web_infrastructure modules from the py3 blacklist 2016-06-02 11:59:21 -07:00
Chris Weber
04ae0a3ebb Fixed exceptions to use python 2.4 helper function and added import also works on python 3 (#2363) 2016-06-02 11:58:38 -07:00
René Moser
46df503964 cloudstack: cs_snapshot_policy: remove unused arg specs and doc cleanup (#2361) 2016-06-02 13:00:10 +02:00
Louis-Michel Couture
c03ea71174 Update bundler example to match the param name (#2322) 2016-06-02 10:27:23 +02:00
Nicolas Boutet
473e5d7969 Fix typo in documentation (#2359) 2016-06-02 09:55:27 +02:00
René Moser
d056879088 travis: workaround false negative test failure (#2362)
travis: workaround false negative test failure
2016-06-02 09:46:05 +02:00
René Moser
4874ceefa5 letsencrypt: fix tests failures (#2360) 2016-06-02 09:31:08 +02:00
Michael Grüner
bb6504c8d3 Add Let's Encrypt module to manage ssl certificates (#1962)
Fixes #1545
2016-06-01 23:02:05 +02:00
trondhindenes
3d6da37864 azure_rm_deploy docfix (#2354) 2016-06-01 15:18:56 -04:00
Leandro Lisboa Penz
4497cb4874 netconf module with edit-config operation (#2103)
* netconf module with edit-config operation
2016-06-01 12:17:38 -04:00
Ben Doherty
07ca593c80 expanduser() on dest 2016-06-01 09:07:18 -04:00
Ben Doherty
a38b510aa8 Refactor computation of archive filenames, clearer archive filename 2016-06-01 08:59:28 -04:00
Ben Doherty
ddfd32774b Don't try to walk over files when building archive 2016-06-01 08:29:28 -04:00
Ben Doherty
b9971f131a Rename 'archive' -> 'arcfile' in compress branch 2016-06-01 08:29:14 -04:00
Ben Doherty
b57b0473cf Change 'creates' parameter to 'dest' 2016-06-01 08:16:31 -04:00
P Stark
5a278a8ecd add type declaration to the port parameter of the irc module. #AnsibleZH (#2349) 2016-06-01 10:02:46 +02:00
Ben Doherty
0a056eccbf Refactor zip and tarfile loops together, branch where calls are different
This fixed a few bugs and simplified the code
2016-05-31 23:42:37 -04:00
Ben Doherty
ec856c85ad Merge branch 'bendoh-archive-module' of github.com:bendoh/ansible-modules-extras into bendoh-archive-module
* 'bendoh-archive-module' of github.com:bendoh/ansible-modules-extras:
  Add 'default' to docs for 'compression' option
2016-05-31 18:33:32 -04:00
Ben Doherty
726c4d9ba7 Some refactoring:
* rename archive -> arcfile (where it's a file descriptor)
* additional return
* simplify logic around 'archive?' flag
* maintain os separator after arcroot
* use function instead of lambda for filter, ensure file exists before file.cmp'ing it
* track errored files and fail if there are any
2016-05-31 18:31:07 -04:00
Ben Doherty
d5e861b352 Reword comments slightly 2016-05-31 18:30:47 -04:00
Dmitry Marakasov
b0aec50b9a Improve documentation for pkgng module (#2338)
According to module checklist:

- Descriptions should always start with a Capital letter and end with a
  full stop.
- Ensure that you make use of U() for urls, C() for files and options,
  I() for params, M() for modules.
2016-05-31 12:58:55 -04:00
Gerrit Germis
a003b8d081 fail when backend host is not found (#1385) 2016-05-31 12:26:25 -04:00
Brian Coca
8fac01a3cc minor fixes
removed unused imports
rearranged basic import
added if/main for testing/importability
2016-05-31 08:39:29 -04:00
jjshoe
4d82ff99e2 A couple of touch ups (#2288)
I peeked at #2281 a little late, thought this might help some as well.
2016-05-31 03:33:16 +02:00
Benjamin Doherty
ef620c7de3 Add 'default' to docs for 'compression' option 2016-05-28 09:02:43 -04:00
Stefan Horning
8e20fcfafe Streamlined ec2_elb_facts module return values with naming in ec2_elb… (#2081)
* Streamlined ec2_elb_facts module return values with naming in ec2_elb_lb (hosted zones)

* Keep the old return values for hosted zone to keep backwards compatibility
2016-05-28 01:56:02 +02:00
Adrian Likins
1e3c0ba1cf Fix bad merge of #555 (mv bigip_gtm_virtual_server) (#2302)
f5/ was the wrong directory. Move it to network/f5
and remove f5/.
2016-05-28 01:52:28 +02:00
René Moser
57e1497fcf cloudstack: cs_ip_address: add vpc support (#2283)
* cloudstack: cs_ip_address: add vpc support

* cloudstack: cs_ip_address: remove unused/unreachable code
2016-05-27 21:02:29 +02:00
René Moser
abe406f074 cloudstack: cs_staticnat: add vpc support (#2285)
* cloudstack: cs_staticnat: add network arg, used for VPC support

* cloudstack: cs_staticnat: removed unused code
2016-05-27 20:57:09 +02:00
René Moser
039005bfaa cloudstack: cs_firewall: get_network moved to utils, cleanup (#2293) 2016-05-27 20:56:00 +02:00
René Moser
5a7a9a0a30 cloudstack: cs_template: fix typos (#2294) 2016-05-27 20:55:03 +02:00
René Moser
53ffd5f82b cloudstack: new module cs_snapshot_policy (#2303) 2016-05-27 20:53:59 +02:00
Dmitry Marakasov
e316888f21 Freebsd pkgng autoremove support (#2324)
* Whitespace cleanup

* Add autoremove capability to pkgng

* Add "default" and "choices" documentnation items for autoremove
2016-05-27 09:49:54 -04:00
René Moser
e388fb4006 consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
2016-05-27 15:46:56 +02:00
Ben Doherty
6e0aac888b Documentation updates 2016-05-27 00:07:15 -04:00
Ben Doherty
20bfb1339d Use different syntax in lambda 2016-05-27 00:00:59 -04:00
Ben Doherty
ae35ce5641 Make remove default to false. It's less frightening. 2016-05-26 23:58:17 -04:00
Ben Doherty
6db9cafdec Don't use <x> if <y> else <z> syntax 2016-05-26 23:49:32 -04:00
Ben Doherty
d3e041d1a2 Accept 'path' as a list argument, expose path and expanded_path,
Use correct variable in expanduser
2016-05-26 23:42:03 -04:00
Ben Doherty
cca70b7c91 Fix up for zip files and nesting logic.
* Don't include the archive in the archive if it falls within an archived path
* If remove=True and the archive would be in an archived path, fail.
* Fix single-file zip file compression
* Add more documentation about 'state' return
2016-05-26 23:09:35 -04:00
Ben Doherty
f482cb4790 Add license 2016-05-26 21:41:40 -04:00
Ben Doherty
ecd60f4839 Add compressed file source to successes when succeeds! 2016-05-26 21:38:36 -04:00
Ben Doherty
9cde150bd1 Add RETURN documentation 2016-05-26 21:38:31 -04:00
Ben Doherty
e9b85326a6 Fix write mode for ZipFiles ('wb' is invalid!) 2016-05-26 21:33:27 -04:00
Ben Doherty
431d8c9a8f Drop extra double-quote from documentation 2016-05-26 20:36:14 -04:00
Ben Doherty
cb4173957c Initial commit of extras/archive module.
This manages compressed files or archives of many compressed files. You can maintain or update .gz, .bz2 compressed files, .zip archives, or tarballs compressed with gzip or bzip2.

Possible use cases:

* Back up user home directories
* Ensure large text files are always compressed
* Archive trees for distribution
2016-05-26 19:54:30 -04:00