Commit graph

5390 commits

Author SHA1 Message Date
Brian Coca
0c4adcb2c6 made subcategories for cloud modules for better organization 2014-11-04 11:18:09 -05:00
James Cammarata
3fe48db44f Fail in ec2 if exact_count is specified without using count_tag
Fixes ansible/ansible#9431
2014-11-03 09:43:26 -06:00
IndyMichaelB
eac316800c docfix for vsphere_guest.py
Corrected parameter name from user to username in documentation
2014-10-31 16:13:41 -04:00
Toshio Kuratomi
63e81cfc2e Fix git module handling of the recursive flag
Fixes: #169
2014-10-28 17:57:37 -04:00
Toshio Kuratomi
9fe5c2af2d Update desctiprion, parameter name, and default value as discussed in #55 2014-10-28 15:10:10 -04:00
Toshio Kuratomi
785762efe8 Merge pull request #55 from bibliotechy/add-track-submodule-branches-parameter
Add track submodule branches parameter
2014-10-28 15:03:57 -04:00
James Cammarata
30f46c9f8e Merge pull request #230 from lorin/ec2_snapshot_wait
ec2_snapshot: document wait, wait_timeout params
2014-10-27 11:10:09 -05:00
James Cammarata
a53acf4431 Merge pull request #222 from ranjanashish/devel
fields in /proc/net/tcp* are not always delimited by single space
2014-10-27 10:57:18 -05:00
James Cammarata
a5d0fac078 Merge pull request #219 from adamchainz/devel
Update syntax for cloudformation example
2014-10-27 10:55:44 -05:00
James Cammarata
9d1d197e0a Merge pull request #217 from jnsaff/fix-ec_group-documentation
Added cidr_ip to ec_group rules_egress example in documentation.
2014-10-27 10:54:25 -05:00
Lorin Hochstein
142fd9b06d ec2_snapshot: document wait, wait_timeout params
Document the wait and wait_timeout params for ec2_snapshot.

This is important because snapshots can take a long time to complete,
and the module defaults to wait=yes.
2014-10-26 16:26:33 -04:00
Ashish Ranjan
eae233efe4 fields in /proc/net/tcp* are not always delimited by single space 2014-10-24 14:48:26 +00:00
Adam Chainz
f4ca909d59 Update syntax for cloudformation example 2014-10-23 17:23:24 +01:00
Jaanus Torp
0a6561f5d4 Fixed really annoying omission in the example without the task would complete without errors or warnings but delete all egress rules 2014-10-23 13:19:23 +01:00
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