Commit graph

2206 commits

Author SHA1 Message Date
Michael DeHaan
6958cf41ef Semicolons must die 2013-06-30 18:49:17 -04:00
Michael DeHaan
87b0deba85 Merge pull request #3374 from jsmartin/bugfix
cloudformation: Fixed bug in module_fail. Consistent error handling.
2013-06-30 15:22:25 -07:00
Michael DeHaan
df1dfdf509 Merge pull request #3298 from devo-ps/linode
Add Linode cloud support.
2013-06-30 14:22:07 -07:00
Michael DeHaan
551b7e4f9a Merge pull request #3358 from aristanetworks/devel
initial arista module import
2013-06-30 14:17:47 -07:00
Michael DeHaan
a54370f140 Merge pull request #3364 from sergevanginderachter/lvol
lvol module: add support for multiple size formats
2013-06-30 14:15:55 -07:00
James Martin
481266ae9f Fixed bug in module_fail. Consistent error handling. Adding comments. Removal of unused variable. Removed unecessary wait_for option. was never been used to begin with. Trim down the stack_outputs. Don't need to include stack name and region since they are already required parameters. Rollback supported in status operations. Using dict when possible. 2013-06-30 16:59:50 -04:00
Michael DeHaan
d934c242c7 Merge pull request #3368 from j2sol/wait_for_improv
Improvements to wait_for module
2013-06-30 09:20:12 -07:00
Michael DeHaan
e7da7ae120 Merge pull request #3340 from bpennypacker/stat
get file/path facts via 'stat'
2013-06-30 09:19:06 -07:00
Michael DeHaan
e0f3aa3e14 Merge pull request #3347 from AscendLearning/irc-with-pass
Added a provision for passing a server password to IRC
2013-06-30 09:17:19 -07:00
Michael DeHaan
1aef962049 Merge pull request #3336 from lorin/htpasswd
Add htpasswd module
2013-06-30 09:15:50 -07:00
serenecloud
e6601b669e Return a friendly error message if aptitude isn't installed 2013-06-30 15:36:13 +12:00
Peter Sprygada
51279a16a6 moved modules to net_infrastructure 2013-06-29 19:59:14 -04:00
Jack Kuan
94d1a2542e Fix the issue of easy_install ignoring virtualenv_site_packages=yes. 2013-06-29 17:03:12 -04:00
Michael DeHaan
36aa5943d1 Merge pull request #3367 from rstrox/devel
Include identity_type required by Pyrax 1.4
2013-06-27 18:15:31 -07:00
Jesse Keating
6a1d6ee25f Elapsed time should account for the delay 2013-06-27 17:42:33 -07:00
rstrox
67b86c21a5 Include identity_type required by Pyrax 1.4 2013-06-27 13:50:36 -05:00
Peter Sprygada
6439d0ff38 initial arista module import 2013-06-26 22:59:23 -04:00
Jesse Keating
49846ae945 Remove a trailing quote 2013-06-26 15:09:00 -07:00
Michael DeHaan
d5c78558b7 Merge pull request #3350 from billwanjohi/devel
validate files: fix usage error in example tasks
2013-06-26 13:14:42 -07:00
Michael DeHaan
3dc560a1a2 Fixup previous apt_key patch to enable file based modes to work. 2013-06-26 14:46:29 -04:00
billwanjohi
45e5005140 validate files: fix usage error in example command
visudo requires the -f option to check any other file than the default.
I've added this to the example ansible tasks.
2013-06-26 13:24:15 -05:00
Bruce Pennypacker
5af9543b75 don't fail if the file doesn't exist. Just set 'exists' to true/false as appropriate 2013-06-26 12:32:28 -04:00
Kevin Montuori
ee399420b6 added a provision for passing a server password to IRC 2013-06-26 14:16:59 +00:00
Curtis
a5ecde9ccf fixup appearances of config_directory, remove slash, remove hardcoded /etc/bprobe 2013-06-25 14:40:14 -06:00
Bruce Pennypacker
88d9145235 Fixed stat of symlinked dirs 2013-06-25 14:14:18 -04:00
Bruce Pennypacker
8f19762748 get file/path facts via 'stat' 2013-06-25 11:04:22 -04:00
Lorin Hochstein
1847669754 Add GPL header and copyright 2013-06-24 21:18:05 -04:00
Curtis
b3df566399 made changes as requested by mpdehaan and added code to remove key and cert pem files on removal of meter 2013-06-24 16:20:36 -06:00
Serge van Ginderachter
fc01f88228 add more support for different size formats 2013-06-24 22:37:31 +02:00
Lorin Hochstein
1626bce3a4 Add htpasswd module
Add a new module for managing entries in an htpasswd file, used
for basic authentication with web servers such as Apache and Nginx
2013-06-24 16:24:55 -04:00
James Laska
ab745fa0b6 Correctly load up2date configuration
Previously, a configuration file name of None was being passed into
up2dateInitConfig().  This resulted in a correct configuration import,
but failed to properly save the configuration back to disk in the event
a different serverURL was supplied.  This change removes support for
customizing the up2date filename entirely, and relies on up2date to
choose the default config filename.
2013-06-24 13:00:23 -04:00
Lorin Hochstein
12c189231c Doc: rabbitmq_user pw change and force
Document that need to add force=yes to change password of
existing user
2013-06-23 11:05:09 -04:00
martin f. krafft
3b7b061b07 Expand usage of Python 2.6 if statement
Syntax like "'foo' if bar else 'baz'" is not supported by all Python
versions targetted by Ansible. Hence we break it up.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-23 09:19:27 +02:00
martin f. krafft
22b30b9281 Let update-rc.d set changed flag properly
When update-rc.d is used to enable/disable service, the changed flag was
always true (see #2189). This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-22 20:04:37 +02:00
Benjamin Schwarze
7cc00f9a03 fix wrong argument_spec in digital_ocean module
as 'required' and 'default' are mutually exclusive removed 'required' in preference of 'default'
2013-06-22 14:48:25 +02:00
John Jarvis
eb97624de3 typo 2013-06-21 13:45:14 -04:00
John Jarvis
abffe2e9a6 using instance_ids and state=absent for removing instances 2013-06-21 13:43:29 -04:00
Vincent Viallet
e7f17e7989 Improve error messages on missing required variables. 2013-06-21 21:41:00 +08:00
Vincent Viallet
c3846dd33b Consistent wait_timeout between doc and module 2013-06-21 18:03:55 +09:00
Vincent Viallet
a04af8e461 Fix last bugs, complete all tests. 2013-06-21 17:01:29 +08:00
Vincent Viallet
fa0595e72b Update documentation 2013-06-21 13:59:09 +08:00
Vincent Viallet
3efba3f529 Add linode cloud provider. 2013-06-21 13:41:33 +08:00
John Jarvis
0cc09a47e5 Adds termination support to the ec2 module
Pass in the `instances` output of the ec2 module
to terminate a list of instances that were previously provisioned.

Useful for automated testing.
2013-06-20 20:00:52 -04:00
Stephen Fromm
ddee9187f0 Add submodule support to git module
This does two things:
* add --recursive option to git clone command in clone().  This will
  initialize all submodules when cloning a remote repository.
* Add submodule_update() and call that from fetch().  submodule_update()
  calls two git commands iff the file .gitmodules exists in the
  repository:
  * 'git submodule sync' - synchronizes the submodules' remote URL
    configuration setting to the value in .gitmodules.
  * 'git submodule update --init --recursive' - initialize and update
    registered submodules to the commit specified in the index of the
    containing repository.

If a repository was cloned without --recursive, submodule_update() will
ensure that the submodules are initialized and updated.
2013-06-20 14:48:39 -07:00
Mike Grozak
da2fb08d47 Fixed typo 2013-06-20 12:46:23 +02:00
Mike Grozak
58618eef8d Updated documentaion for the file module 2013-06-20 12:46:23 +02:00
Mike Grozak
ee813d3bd7 added possibility to force symlinks to none-existent destination (which might appear later) 2013-06-20 12:43:23 +02:00
Mike Grozak
4716b779f6 added force parameter to symlink invocation, in order to force the creation in case of already existing destination with the type of 'file' 2013-06-20 12:43:23 +02:00
Michael DeHaan
0ed5d18d60 Fixup versions of newly added modules. 2013-06-19 22:39:08 -04:00
Michael DeHaan
997bf64f3f Fix up some module docs formatting errors. 2013-06-19 22:37:09 -04:00