Commit graph

5240 commits

Author SHA1 Message Date
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
Toshio Kuratomi
7b100dd389 Be more specific in checking if a job restarted successfully.
Fixes: #9056
2014-09-19 12:03:27 -07:00
Toshio Kuratomi
36083c3b90 Failure to enable a service now fails the task
Fixes: 8855
2014-09-18 12:39:54 -07:00
James Pharaoh
27ccd01db4 add LANG=C to apt module so the string matches on the output always match 2014-09-18 20:56:21 +02:00
James Cammarata
d5546d7a0a Merge pull request #9052 from EvanDotPro/docs/fix-rax-public-key-example
Update rax root pubkey example
2014-09-18 13:25:36 -05:00
Evan Coury
54a979ddd3 Update rax root pubkey example
The example was showing how to use the `files` option to pass in a local file as an authorized public key for root. While this works, it's a bit sloppy, given that there's a specific option, `key_name` which will use one of your public keys on your rackspace account and add it as an authorized key for root. In our case, one of our admins didn't notice the `key_name` option because they scrolled straight to the example and saw the `files` strategy.

I propose that the example still shows `files`, but not using a root public key as an example, and instead also demonstrate the `key_name` option so that it's clear from the example how to get the initial root public key deployed.
2014-09-17 18:06:59 -07:00