Commit Graph

8774 Commits (d76f4f1795f66ab856c52d4d24af2aa3dc6d0dfc)
 

Author SHA1 Message Date
Ben Doherty ddfd32774b Don't try to walk over files when building archive 9 years ago
Ben Doherty b9971f131a Rename 'archive' -> 'arcfile' in compress branch 9 years ago
Ben Doherty b57b0473cf Change 'creates' parameter to 'dest' 9 years ago
P Stark 5a278a8ecd add type declaration to the port parameter of the irc module. #AnsibleZH (#2349) 9 years ago
Ben Doherty 0a056eccbf Refactor zip and tarfile loops together, branch where calls are different
This fixed a few bugs and simplified the code
9 years ago
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
9 years ago
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
9 years ago
Ben Doherty d5e861b352 Reword comments slightly 9 years ago
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.
9 years ago
Gerrit Germis a003b8d081 fail when backend host is not found (#1385) 9 years ago
Brian Coca 8fac01a3cc minor fixes
removed unused imports
rearranged basic import
added if/main for testing/importability
9 years ago
jjshoe 4d82ff99e2 A couple of touch ups (#2288)
I peeked at #2281 a little late, thought this might help some as well.
9 years ago
Benjamin Doherty ef620c7de3 Add 'default' to docs for 'compression' option 9 years ago
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
9 years ago
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/.
9 years ago
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
9 years ago
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
9 years ago
René Moser 039005bfaa cloudstack: cs_firewall: get_network moved to utils, cleanup (#2293) 9 years ago
René Moser 5a7a9a0a30 cloudstack: cs_template: fix typos (#2294) 9 years ago
René Moser 53ffd5f82b cloudstack: new module cs_snapshot_policy (#2303) 9 years ago
Dmitry Marakasov e316888f21 Freebsd pkgng autoremove support (#2324)
* Whitespace cleanup

* Add autoremove capability to pkgng

* Add "default" and "choices" documentnation items for autoremove
9 years ago
René Moser e388fb4006 consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
9 years ago
Ben Doherty 6e0aac888b Documentation updates 9 years ago
Ben Doherty 20bfb1339d Use different syntax in lambda 9 years ago
Ben Doherty ae35ce5641 Make remove default to false. It's less frightening. 9 years ago
Ben Doherty 6db9cafdec Don't use <x> if <y> else <z> syntax 9 years ago
Ben Doherty d3e041d1a2 Accept 'path' as a list argument, expose path and expanded_path,
Use correct variable in expanduser
9 years ago
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
9 years ago
Ben Doherty f482cb4790 Add license 9 years ago
Ben Doherty ecd60f4839 Add compressed file source to successes when succeeds! 9 years ago
Ben Doherty 9cde150bd1 Add RETURN documentation 9 years ago
Ben Doherty e9b85326a6 Fix write mode for ZipFiles ('wb' is invalid!) 9 years ago
Ben Doherty 431d8c9a8f Drop extra double-quote from documentation 9 years ago
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
9 years ago
Elena Washington 3ca06bf1c8 iptables: option to configure Source NAT (#2292)
* Clean up trailing whitespace

* Add `--to-source` option to allow Source NAT (fix for #2291)
9 years ago
Matt Martz 1ea51b2f99 Merge pull request #2316 from sivel/mssql-py27
Exclude mssql_db.py from py24 syntax checks
9 years ago
Matt Martz 98039323e2 Exclude mssql_db.py from py24 syntax checks 9 years ago
Matt Martz f78b7d65e1 Merge pull request #2310 from angstwad/fix-rabbitmq-user
Fix Traceback on rabbitmq_user when "node" argument is used
9 years ago
Andrew Miller 63134a85d2 Cpanm module could not use less than Python 2.6
Removed str.format() dependency to allow cpanm module to work on nodes with versions of Python less than 2.6.
9 years ago
Paul Durivage ca61b2dd9d fix command list to extend, not append 9 years ago
Toshio Kuratomi 0e4a023a7e The pymssql library requires python 2.7 or greater so port the syntax of this file to use python3-style exception handling 9 years ago
Hans-Joachim Kliemeck e7e3620983 allow empty user for kerberos ticket usage
fix syntax problems:
* it is possible that sql injection is done, therefore the [DBNAME] syntax is used.
* it is not possible to use default escape on cursor.execute for DBNAME, since it will insert single quotes around the name and this will cause syntax problems / single quotes within the actual DBNAME

implement autocommit setting, since some content can not be imported within transaction

fix for automatic tests

fix problems with named instances, corrected error message regarding configuration file

remove unused placeholder
9 years ago
Firat Arig b827b7398c Working mssql db controller
Using pymssql string interpolation

Cursor does string interpolation at script execution

Handled edge cases in import and delete

updated ansible version number
9 years ago
Toshio Kuratomi 4b4557eb97 Fix exception catching for python3 9 years ago
Benjamin Curtis 76cbe30645 Add honeybadger_deployment module 9 years ago
Toshio Kuratomi 5b2bf6f08a Fix python3 syntax compilation 9 years ago
Mike Mochan 698d2a55c5 update remote tags if changed 9 years ago
Mike Mochan cab7437e32 added tagging for the remote account 9 years ago
Mike Mochan 9a303f1628 Updates to version and requirements 9 years ago
Mike Mochan 2934495efc Added tagging functionality 9 years ago