Commit graph

11315 commits

Author SHA1 Message Date
Ben Mather
1e98302cb8 mark all actions as private 2016-12-08 11:32:21 -05:00
Ben Mather
1a30d3fcfd mark list as private instead of shadowing 2016-12-08 11:32:21 -05:00
Ben Mather
eebde78ded make it possible to configure the content type of a github webhook 2016-12-08 11:32:20 -05:00
Ben Mather
06559cad3c rename list to list_ to avoid shadowing in github_hooks module
The definition was leaking into ansible.module_utils.basic and causing
type checking to fail when running module as script.  Not entirely clear
why this should be the case.
2016-12-08 11:32:20 -05:00
Aurélien Bompard
27afdc9566 Module alternatives: support RedHat-based OSes
RedHat-based OSes have a version of update-alternatives which comes from
the chkconfig package and does not support the --query parameter. Work
around that.
2016-12-08 11:32:20 -05:00
Aurélien Bompard
2d5c2dabe8 Module alternatives: support check mode 2016-12-08 11:32:20 -05:00
Michael Warkentin
7925c0a453 Add bower module 2016-12-08 11:32:20 -05:00
Steve
2cb1176bc2 New crypttab module for editing Linux /etc/crypttab file 2016-12-08 11:32:20 -05:00
René Moser
cc666194ac zabbix_group: new module
Add or remove a host group to Zabbix.

Signed-off-by: René Moser <mail@renemoser.net>
2016-12-08 11:32:20 -05:00
Toshio Kuratomi
cdb9c1b1c4 Use the python db api to quote mysql values 2016-12-08 11:32:20 -05:00
Brian Coca
ff66d56d4a corrected and made better docs for getent 2016-12-08 11:32:20 -05:00
Joseph Tate
5faecb76ae Actually what we need is to import the urls utils 2016-12-08 11:32:20 -05:00
Joseph Tate
b75c10d5ea If you're going to use urllib, you'd better import it 2016-12-08 11:32:20 -05:00
Toby Evans
7685d60c58 Update the webhook url
This change fixes the 404 seen with the current version.

fixes #100
2016-12-08 11:32:20 -05:00
Michael Warkentin
45f2a6734d Fix typo: authenicate -> authenticate 2016-12-08 11:32:20 -05:00
Artem Chernikov
b4c6b81619 Fixing SuSE to SUSE as latter is the right one since some time 2016-12-08 11:32:20 -05:00
Toshio Kuratomi
ae51f28420 Move from md5 to sha1 to work on fips-140 enabled systems 2016-12-08 11:32:20 -05:00
Filipe Niero Felisbino
d740265e13 Replace dev_string to dev_list 2016-12-08 11:32:20 -05:00
Michael DeHaan
cf622a7299 Categorize some modules. 2016-12-08 11:32:19 -05:00
Michael DeHaan
7d6ceb4f06 Reorganization. 2016-12-08 11:32:19 -05:00
Michael DeHaan
ee87304fb8 Fix rename error. 2016-12-08 11:32:19 -05:00
Michael DeHaan
55b41340fc Module reorg 2016-12-08 11:32:19 -05:00
anatoly techtonik
2a67586432 README.md: Reference module development guide (fixes #10) 2016-12-08 11:32:19 -05:00
Sergei Antipov
e60d6e413a Added missed importing 2016-12-08 11:32:19 -05:00
Eric Hanchrow
aff36f5a97 Clarify doc for cpan module
... note that you can pass names that include a precise version number.
2016-12-08 11:32:19 -05:00
Chris West
4176c3b500 Enable "ufw default allow routed"
* The policy is shown in `status verbose`, so all the check mode stuff should keep working.
 * `--dry-run` works as expected.
 * No idea whether it's legal as an argument to `interface`
2016-12-08 11:32:19 -05:00
Boris Manojlovic
b1ec3fd57e fixed zypper.py and zypper_repository.py for SLE10 platform 2016-12-08 11:32:19 -05:00
anatoly techtonik
cb70fbc9d1 composer: Fix changed status that always returns False
re.match in has_changed function never worked properly, because match
requires searched sequence to be present exactly at a start of processed
string, which is not the case here.
2016-12-08 11:32:19 -05:00
Mikolaj Chwalisz
5e9f16b206 opkg: fix package state detection 2016-12-08 11:32:19 -05:00
Paul Nicholson
8875d45632 Add missing __init__.py files for find_package() to work 2016-12-08 11:32:19 -05:00
Baptiste Mispelon
7a60427749 Fixed typo in locale_gen documentation. 2016-12-08 11:32:19 -05:00
Philip Misiowiec
85c15e5303 Added version 2016-12-08 11:32:19 -05:00
Philip Misiowiec
7db849397c Ability to enable SSL when creating MongoDB users 2016-12-08 11:32:19 -05:00
jravetch
2a8fc63645 mkfs.xfs uses -f instead of -F flag
mkfs.xfs uses the -f instead of -F flag to force creating a filesystem on a devices that have an existing filesystem
2016-12-08 11:32:18 -05:00
kustodian
e9f98c0efc mysql_replication should not connect to the 'mysql' database
All the actions by the mysql_replication plugin can be done by connecting to the NULL database. There is no need to connect to the 'mysql' db, since there are permissions problems when connecting to remote hosts, e.g. when you want to query "SHOW MASTER STATUS" on a remote host.
2016-12-08 11:32:18 -05:00
René Moser
e9eb19a7f2 zabbix_maintenance: set state to be present by default
Signed-off-by: René Moser <mail@renemoser.net>
2016-12-08 11:32:18 -05:00
Patrik Lundin
66cb7f1a37 openbsd_pkg: revert "changed" simplification.
module.exit_json() does not like when the "changed" variable contains a
match object:

TypeError: <_sre.SRE_Match object at 0x81e2ae58> is not JSON serializable
2016-12-08 11:32:18 -05:00
Patrik Lundin
98dcb3a006 Simplify logic by using required=True. 2016-12-08 11:32:18 -05:00
James Cammarata
e7405643e1 Refactor openbsd package upgrade change to work more like yum/apt 2016-12-08 11:32:18 -05:00
Patrik Lundin
6aaf5eb1d6 openbsd_pkg: add upgrade argument.
Running the module with the argument "upgrade=yes" invokes an upgrade of
all installed packages.

While here clean up some comments.

Functionality requested by @qbit.
2016-12-08 11:32:18 -05:00
Michael DeHaan
d2110d7502 Update README.md 2016-12-08 11:32:18 -05:00
Michael DeHaan
7ba58f93a0 package files 2016-12-08 11:32:18 -05:00
Michael DeHaan
5879c503bb File extensions! 2016-12-08 11:32:18 -05:00
James Cammarata
d4b117843a Copying snapshot of extras modules 2016-12-08 11:32:07 -05:00
James Cammarata
8afa090417 Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
James Cammarata
95d59b61eb Removing unnecessary files before repo merge 2016-12-08 11:25:36 -05:00
Toshio Kuratomi
7319104552 Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
Adam Chainz
46ca2b8bcd Cloudformation - remove dead invoke_with_throttling_retries function (#5690)
Unused since f040d63403.
2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
5edbbabe0b Call main in conditional way - packaging (#5826) 2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati
17c80f6bbb Call main in conditional way - utilities (#5827) 2016-12-08 11:25:35 -05:00