Commit graph

5345 commits

Author SHA1 Message Date
Ravi Bhure
db77cff31d Added module haproxy, to handle enable/disable backend server with shutdown_sessions feature in haproxy. 2014-09-29 22:45:40 -06:00
Peter Mounce
7f2732782d Add module to install windows updates
Supports specifying which category to install all updates from.
NEEDS: `choco install PSWindowsUpdate` beforehand - does not attempt to install it (or detect it's missing, yet)
PSWindowsUpdate: http://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc#content
2014-09-30 00:27:29 +01:00
Michael DeHaan
6b431b1db6 Merge pull request #18 from jravetch/devel
mkfs.xfs uses -f instead of -F flag
2014-09-29 18:49:12 -04:00
Michael DeHaan
d8a434e5e5 Merge pull request #16 from kustodian/mysql_replication_no_mysql_db
mysql_replication should not connect to the 'mysql' database
2014-09-29 18:48:33 -04:00
Philip Misiowiec
6df1aa6059 Added version 2014-09-29 17:45:55 -05:00
Michael DeHaan
9ae19f3814 Merge pull request #4 from resmo/feature/zabbix_maintenance-default-state
zabbix_maintenance: set state to be present by default
2014-09-29 18:45:35 -04:00
Michael DeHaan
9b5592cbd7 Merge pull request #3 from eest/openbsd_pkg-upgrade
openbsd_pkg: upgrade all packages when name is '*'
2014-09-29 18:45:10 -04:00
jravetch
c89ce9e8d7 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
2014-09-29 15:40:58 -07:00
Aurélien Bompard
6b5aa62854 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.
2014-09-30 00:38:56 +02:00
Aurélien Bompard
b645dd330c Module alternatives: support check mode 2014-09-30 00:38:54 +02:00
kustodian
9a5bd8587b 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.
2014-09-30 00:22:02 +02:00
Michael Warkentin
6222485e0b Add bower module 2014-09-29 16:51:53 -04:00
Bekim Berisha
13ceb0255c pvs args shall be submitted as a list
pvs args are submitted as a string to vgcreate, but the run_command
expects a list however. This caused problem for multiple args.
2014-09-29 22:48:58 +02:00
Ben Mather
f6cd2d931e make it possible to configure the content type of a github webhook 2014-09-29 14:35:04 +01:00
Ben Mather
d95d8c9d98 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.
2014-09-29 14:30:26 +01:00
Steve
26f58a8eb7 New crypttab module for editing Linux /etc/crypttab file 2014-09-29 01:11:11 +01:00
René Moser
8c16f9c39c zabbix_group: new module
Add or remove a host group to Zabbix.

Signed-off-by: René Moser <mail@renemoser.net>
2014-09-28 22:24:24 +02:00
René Moser
93c7084fa6 zabbix_maintenance: set state to be present by default
Signed-off-by: René Moser <mail@renemoser.net>
2014-09-28 20:49:05 +02:00
Patrik Lundin
8b2bd3e5a4 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
2014-09-28 10:01:34 +02:00
Patrik Lundin
30a31e8524 Simplify logic by using required=True. 2014-09-28 10:01:33 +02:00
James Cammarata
4b0b0e58a9 Refactor openbsd package upgrade change to work more like yum/apt 2014-09-28 10:01:33 +02:00
Patrik Lundin
0af146685c 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.
2014-09-28 10:01:33 +02:00
Philip Misiowiec
1c0965c631 Ability to enable SSL when creating MongoDB users 2014-09-26 23:23:39 -07:00
Michael DeHaan
d2d0ed2259 Update README.md 2014-09-26 18:55:56 -04:00
Michael DeHaan
4bb1242039 Update README.md 2014-09-26 18:54:24 -04:00
Michael DeHaan
110250d344 package files 2014-09-26 11:04:10 -04:00
Michael DeHaan
b1e789968b File extensions! 2014-09-26 10:40:16 -04:00
Michael DeHaan
50f105578a Restructuring. 2014-09-26 10:14:28 -04:00
Michael DeHaan
38a8bad1c0 Core/extras splitting WIP. 2014-09-26 09:48:09 -04:00
Michael DeHaan
bce9bcc0fe Core/extras split WIP. 2014-09-26 09:45:21 -04:00
Michael DeHaan
21f7c5e01a Core/extras splitting WIP. 2014-09-26 09:41:07 -04:00
Michael DeHaan
c1067e329a Remove things in core, leaving only extras 2014-09-26 09:34:04 -04:00
Michael DeHaan
ab4977e909 Rename core to extras, prior to pruning steps. 2014-09-26 09:30:45 -04:00
Michael DeHaan
1e47a969b8 Fix typo in README filename 2014-09-26 09:26:39 -04:00
Michael DeHaan
73123b69fa Move modules into subdirectory. 2014-09-26 09:23:50 -04:00
Michael DeHaan
b2b5cc032c Add basic top level files. 2014-09-26 09:21:20 -04:00
James Cammarata
a099a3c7f5 Merge branch 'admiller/async_resume' of https://github.com/maxamillion/ansible into maxamillion-admiller/async_resume 2014-09-25 15:28:53 -05:00
James Cammarata
1ef592ff00 Push the expanduser call on the source down to slurp rather than fetch
Also moves the calculation of the destination file name until after
the slurp of the file contents, since the source as returned by slurp
may now be different, so we want to use that expanded path locally.

Fixes #8942
2014-09-23 15:32:07 -05:00
James Cammarata
61f6a70401 Skip null id route tables when adding/deleting them in ec2_vpc
Fixes #8552
2014-09-23 14:51:56 -05:00
Steven Ringo
bcb78335cf Expand description for ec2_facts module 2014-09-23 08:53:57 +10:00
James Cammarata
dea00c767b Merge branch 'dmage-devel' into devel 2014-09-22 15:42:38 -05:00
James Cammarata
bb8bac490a Merge branch 'devel' of https://github.com/dmage/ansible into dmage-devel 2014-09-22 15:40:06 -05:00
Toshio Kuratomi
8b81062be0 The fix for gh-7284 causes problems for initscripts which have the
standards compliant return codes but return a verbose error message via
stdout.  Limit the times when we invoke the heuristic to attempt to work
around this.
2014-09-22 14:53:07 -04:00
Toshio Kuratomi
724b484577 Merge pull request #9084 from mscherer/fix9704/fix_service
Fix #9704, correctly set changed as false when nothing is done
2014-09-22 11:47:56 -04:00
Michael DeHaan
062cc9bd04 Merge pull request #9082 from mscherer/fix9080/file_not_working_py24
Make file module work on python 2.4, fix #9080
2014-09-21 19:18:44 -04:00
Michael Scherer
7420a450a5 Fix indentation and bug #8895 2014-09-21 17:12:29 +02:00
Michael Scherer
c9a0a7ae4b Fix #9704, correctly set changed as false when nothing is done 2014-09-21 14:55:31 +02:00
Michael Scherer
d15931f15a Make file module work on python 2.4, fix #9080
Python 2.4 do not support "except ... as ..." construct, so
revert back to the older syntax.
2014-09-21 01:50:58 +02:00
James Cammarata
0d0576a97f Add note on ec2_lc regarding immutability of configs once created
Fixes #8927
2014-09-19 15:17:46 -05:00
Toshio Kuratomi
74e466557d Merge pull request #9060 from jamespharaoh/apt-lang
add LANG=C to apt module so the string matches on the output always matc...
2014-09-19 12:30:15 -07:00