Commit graph

5481 commits

Author SHA1 Message Date
Toshio Kuratomi
7f611468a8 Fix for systemd service scripts with newlines
Fixes #127
2014-10-22 16:43:35 -04:00
Matt Martz
b8e82f8504 Merge pull request #115 from sivel/autoscale-more-args
rax_scaling_group module improvements
2014-10-22 12:27:15 -05:00
Matt Martz
7e3b7aff13 Merge pull request #116 from sivel/rax-skip-deleted
rax module: Don't count DELETED servers when adding new servers
2014-10-22 12:25:25 -05:00
Toshio Kuratomi
72185b4d9a Merge pull request #194 from rglew/devel
Fixed bug #193 where parameter name was set incorrectly
2014-10-22 11:29:07 -04:00
James Cammarata
4d1bd723c8 Merge pull request #208 from CptLausebaer/patch-1
correct requirement of parameter dest
2014-10-22 00:00:54 -05:00
James Cammarata
3132463145 Merge pull request #187 from jorgebastida/devel
ec2_asg: Initialize create_changed and replace_changed
2014-10-21 22:48:08 -05:00
James Cammarata
47f11e87e3 Merge pull request #183 from sb98052/devel
Added user, tenant and password to module parameters declaration
2014-10-21 22:36:19 -05:00
CptLausebaer
617eed6556 correct requirement of parameter dest
The parameter "dest:" is required, but it is documented as "required: false".
2014-10-21 18:51:13 +02:00
Toshio Kuratomi
88b73afcbe Use original_basename to set the dest path even if src is not set 2014-10-20 22:25:18 -04:00
Toshio Kuratomi
fa6d74a970 Merge pull request #196 from tgerla/ec2-fix-typo
Fix a typo of a function call
2014-10-17 14:11:42 -04:00
Tim Gerla
044cef8419 Fix a typo of a function call 2014-10-17 10:47:17 -07:00
Richard Glew
043b38f2ef Fixed bug #193 where parameter name was set incorrectly 2014-10-17 09:28:58 +10:00
Jorge Bastida
9c5cdd6daf Initialize create_changed and replace_changed 2014-10-14 15:22:26 +01:00
Sapan Bhatia
8821091909 Added user, tenant and password to module parameters declaration --
these parameters are already handled by the implementation
2014-10-14 02:24:58 -04:00
Michael DeHaan
8614ef8d6f Merge pull request #175 from tedder/devel
fix spelling on synchronize_module
2014-10-13 17:03:47 -07:00
Jonathan Armani
c804beb1fb Merge pull request #2 from eest/openbsd_rcctl
Multiple fixes for OpenBSD rcctl handling.
2014-10-12 18:45:30 +02:00
Patrik Lundin
f9d9c1b6d7 Multiple fixes for OpenBSD rcctl handling.
* Use the newly added 'default' argument to know if the default flags are set
  or not.
* Handle that 'status' may either return flags or YES/NO.
* Centralize flag handling logic.
* Set action variable after check if we need to keep going.

Big thanks to @ajacoutot for implementing the rcctl 'default' argument.
2014-10-12 18:41:23 +02:00
Ted Timmons
fd68b77d37 fix spelling 2014-10-11 21:11:30 -06:00
Ricky Cook
6db328c79a Fix regex string format 2014-10-09 21:25:58 +11:00
Ricky Cook
b195b5a6bb Get warn option same as other args 2014-10-09 21:25:58 +11:00
Ricky Cook
25789b3f47 Add comment to command options dict 2014-10-09 21:25:58 +11:00
Ricky Cook
8d9f6053d3 Simplify command module option parsing 2014-10-09 21:25:58 +11:00
James Cammarata
5af8d55b03 Strip newlines off k=v pairs in command/shell argument parsing
Fixes ansible/ansible#9272
2014-10-08 14:48:07 -05:00
Antti Salminen
36b7287375 Find the actual commit annotated tags refer to instead of the tag object. 2014-10-07 22:00:20 +03:00
James Cammarata
e94175d7d0 Merge pull request #128 from lorin/apt-key-doc
apt_key: add keyserver example to docs
2014-10-07 13:21:31 -05:00
James Cammarata
ee93a88418 Merge pull request #120 from tjanez/doc-simplify_isdir_condition
Simplified condition in a stat module example testing if path is a directory
2014-10-07 12:56:35 -05:00
Patrik Lundin
e463400412 Simplify self.arguments logic.
Strange logic pointed out by @jarmani, thanks!
2014-10-06 21:20:20 +02:00
Patrik Lundin
924cf20cf8 Depend more on rcctl if it is present.
* Make the module support enable/disable of special services like pf via rcctl.
  Idea and method from @jarmani.
* Make the module handle when the user supplied 'arguments' variable does not
  match the current flags in rc.conf.local.
* Update description now that the code tries to use rcctl for everything if it
  is available.
2014-10-06 21:20:20 +02:00
Patrik Lundin
5f37624eb4 Tweak error checking for "enabled" code.
Based on input from @jarmani:
* A return value of 2 now means a service does not exist. Instead of
  trying to handle the different meanings of rc after running "status",
  just look at stderr to know if something failed.
* Skip looking at stdout to make the code cleaner. Any errors should
  turn up on stderr.
2014-10-06 21:20:20 +02:00
Patrik Lundin
c6dd88c1d1 Fail if "rcctl status" writes to stderr. 2014-10-06 21:20:20 +02:00
Patrik Lundin
1a8cdb5e3e Check rc and print error message if any.
It is probably good to use stdout before printing a generic error
message as well.
2014-10-06 21:20:20 +02:00
Patrik Lundin
c46e030100 Make "enabled" code aware of --check mode. 2014-10-06 21:20:20 +02:00
Jonathan Armani
1b97390765 Add enable / disable of services for OpenBSD if rcctl is present 2014-10-06 21:20:20 +02:00
Lorin Hochstein
3ab26c538b apt_key: add keyserver example to docs 2014-10-03 15:10:45 -04:00
Jon Hadfield
9e0565e58f Remove redundant check for creates argument. 2014-10-03 13:00:11 +01:00
Tadej Janež
661b452fe3 Simplified condition in a stat module example testing if path is a directory. 2014-10-02 18:17:27 +02:00
James Cammarata
cb69744bce Adding file doc fragment to those modules in files/ missing it 2014-10-01 20:55:50 -05:00
Matt Martz
5dcc0ff0d9 Don't count DELETED servers when adding new servers 2014-10-01 18:30:40 -05:00
Matt Martz
fbadfd5902 Fix determination if a few configurations change in the launch config 2014-10-01 18:24:48 -05:00
Matt Martz
924bff9481 Ensure that files is the right type, and that we send the formatted personality var 2014-10-01 18:24:47 -05:00
Matt Martz
0a399fd971 Support config_drive and user_data in rax_scaling_group 2014-10-01 18:24:47 -05:00
Michael DeHaan
1c2995d71f Merge pull request #77 from major/suggest-selinux-enforcing
Updating SELinux example doc in lininefile module
2014-10-01 11:53:24 -04:00
Michael DeHaan
797dc9d09a Merge pull request #87 from offby1/devel
Tweak docs to mention `replace`
2014-10-01 11:45:18 -04:00
Nate Coraor
204a0dc131 Fix a few bugs and misbehavior in the hg module:
1. Don't pull when `dest` is already at the desired changeset.
2. Don't change the working copy when cleaning or pulling and a revision
   was specified.
3. Change the default for the `revision` param to match the behavior of
   hg.
2014-10-01 00:31:33 -04:00
Jérémie Astori
1e9680aa6b Fix #91: Expand user home folder for the key_file path of the git module 2014-09-30 23:04:54 -04:00
Chris Church
c9f8dcff99 Update win_feature module to work on server 2008 and fail with error message on non-server windows, fix output messages and error handling. 2014-09-30 16:41:34 -04:00
Eric Hanchrow
cc0a38d268 Tweak docs to mention replace 2014-09-30 10:52:03 -07:00
Chris Church
3a40d79cff Update win_user module to support more user options and group membership changes. 2014-09-30 11:51:05 -04:00
Major Hayden
6d697780f9 Updating SELinux example doc in lininefile module
Encouraging users to use this Ansible module to enable SELinux seems
like a better idea. It also warms Dan Walsh's heart.

Signed-off-by: Major Hayden <major@mhtx.net>
2014-09-30 07:12:23 -05:00
sterutkb
2cecd799c2 Added support for deploying virtual machine from a virtual template 2014-09-30 11:20:59 +02:00