Commit Graph

5628 Commits (05904a7e177b300d62f426ba04affcee31166112)
 

Author SHA1 Message Date
James Cammarata 4d1bd723c8 Merge pull request #208 from CptLausebaer/patch-1
correct requirement of parameter dest
10 years ago
James Cammarata 3132463145 Merge pull request #187 from jorgebastida/devel
ec2_asg: Initialize create_changed and replace_changed
10 years ago
James Cammarata 47f11e87e3 Merge pull request #183 from sb98052/devel
Added user, tenant and password to module parameters declaration
10 years ago
CptLausebaer 617eed6556 correct requirement of parameter dest
The parameter "dest:" is required, but it is documented as "required: false".
10 years ago
Toshio Kuratomi 88b73afcbe Use original_basename to set the dest path even if src is not set 10 years ago
Toshio Kuratomi fa6d74a970 Merge pull request #196 from tgerla/ec2-fix-typo
Fix a typo of a function call
10 years ago
Tim Gerla 044cef8419 Fix a typo of a function call 10 years ago
Richard Glew 043b38f2ef Fixed bug #193 where parameter name was set incorrectly 10 years ago
Jorge Bastida 9c5cdd6daf Initialize create_changed and replace_changed 10 years ago
Sapan Bhatia 8821091909 Added user, tenant and password to module parameters declaration --
these parameters are already handled by the implementation
10 years ago
Michael DeHaan 8614ef8d6f Merge pull request #175 from tedder/devel
fix spelling on synchronize_module
10 years ago
Jonathan Armani c804beb1fb Merge pull request #2 from eest/openbsd_rcctl
Multiple fixes for OpenBSD rcctl handling.
10 years ago
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.
10 years ago
Ted Timmons fd68b77d37 fix spelling 10 years ago
Ricky Cook 6db328c79a Fix regex string format 10 years ago
Ricky Cook b195b5a6bb Get warn option same as other args 10 years ago
Ricky Cook 25789b3f47 Add comment to command options dict 10 years ago
Ricky Cook 8d9f6053d3 Simplify command module option parsing 10 years ago
James Cammarata 5af8d55b03 Strip newlines off k=v pairs in command/shell argument parsing
Fixes ansible/ansible#9272
10 years ago
Antti Salminen 36b7287375 Find the actual commit annotated tags refer to instead of the tag object. 10 years ago
James Cammarata e94175d7d0 Merge pull request #128 from lorin/apt-key-doc
apt_key: add keyserver example to docs
10 years ago
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
10 years ago
Patrik Lundin e463400412 Simplify self.arguments logic.
Strange logic pointed out by @jarmani, thanks!
10 years ago
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.
10 years ago
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.
10 years ago
Patrik Lundin c6dd88c1d1 Fail if "rcctl status" writes to stderr. 10 years ago
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.
10 years ago
Patrik Lundin c46e030100 Make "enabled" code aware of --check mode. 10 years ago
Jonathan Armani 1b97390765 Add enable / disable of services for OpenBSD if rcctl is present 10 years ago
Lorin Hochstein 3ab26c538b apt_key: add keyserver example to docs 10 years ago
Jon Hadfield 9e0565e58f Remove redundant check for creates argument. 10 years ago
Tadej Janež 661b452fe3 Simplified condition in a stat module example testing if path is a directory. 10 years ago
Brendan Jurd 6157a6552f Add word boundary in apache2_module regexp
Add a word boundary \b to the regexp for checking the output of a2{en,dis}mod,
to avoid a false positive for a module that ends with the same text as the
module we're working on.

For example, the previous regexp r'.*spam already enabled' would also match
against 'eggs_spam already enabled'.

Also, get rid of the redundant '.*' from the end of the regexp.
10 years ago
James Cammarata cb69744bce Adding file doc fragment to those modules in files/ missing it 10 years ago
Matt Martz 5dcc0ff0d9 Don't count DELETED servers when adding new servers 10 years ago
Matt Martz fbadfd5902 Fix determination if a few configurations change in the launch config 10 years ago
Matt Martz 924bff9481 Ensure that files is the right type, and that we send the formatted personality var 10 years ago
Matt Martz 0a399fd971 Support config_drive and user_data in rax_scaling_group 10 years ago
Michael DeHaan 1c2995d71f Merge pull request #77 from major/suggest-selinux-enforcing
Updating SELinux example doc in lininefile module
10 years ago
Michael DeHaan 797dc9d09a Merge pull request #87 from offby1/devel
Tweak docs to mention `replace`
10 years ago
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.
10 years ago
Jérémie Astori 1e9680aa6b Fix #91: Expand user home folder for the key_file path of the git module 10 years ago
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. 10 years ago
Eric Hanchrow cc0a38d268 Tweak docs to mention `replace` 10 years ago
Chris Church 3a40d79cff Update win_user module to support more user options and group membership changes. 10 years ago
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>
10 years ago
sterutkb 2cecd799c2 Added support for deploying virtual machine from a virtual template 10 years ago
Chad Nelson 37ed9b19ef Chnge option name to track_submodule_branches.
Update documentation to reflect what the actual effect of the option.
10 years ago
Chad Nelson 30aae62e25 Give option on how git tracks submodules.
Allows user to decide if git submodule should track branches/tags or track commit hashes defined in the superproject.

Add track_branches parameter to the git module.

Defaults to track branches behavior.
10 years ago
billwanjohi ff36edbb11 user: add expired state
ported from
https://github.com/ansible/ansible/pull/6303

It's very useful and routine to disable a *nix user.
I implemented expired instead of locked because this prevents any use of
the account, safer than just preventing password-based authentication.

I have tests [1], but since none of the suite came along with the core
modules, I'm unsure how to submit them.

[1] https://github.com/billwanjohi/ansible/blob/add_locked_state/test/integration/roles/test_user/tasks/main.yml
10 years ago