Commit Graph

5548 Commits (b0dcff214a71473c907dc14eaa5f5b413a98f9a7)
 

Author SHA1 Message Date
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
kustodian 82af074382 Set selinux state to 'permissive' for state=disabled 10 years ago
Michael Scherer 37d9903169 Add hostname to generated user SSH key comment
The default is not very useful to sort between different
keys and user. Adding the hostname in the comment permit to later
sort them if you start to reuse the key and set them in different
servers. See https://github.com/ansible/ansible/pull/7420
for the rational.
10 years ago
Michael Scherer 9cbd4d0fad Fix old ticket #9092 where a playbook can enter in recursion
This can be tested with this command :

    ansible -c local -m copy -a 'src=/etc/group dest=foo/' all

This is a corner case of the algorithm used to find how we should
copy recursively a folder, and this commit detect it and avoid it.

Check https://github.com/ansible/ansible/issues/9092 for the story
10 years ago
Phillip Holmes 7402827950 Route53 fix - forcing zone_in, record_in to lower case
Fixed the .tolower to .lower() for correct syntax (copied change from older notes).
10 years ago
Phillip Holmes b3e84f2dd4 Route53 fix - forcing zone_in, record_in to lower case
It turns out the Route53 API cares if the zone and record specified in the playbook are lower case or not when deleting a record. If you use a variable to name your servers and care about case, using that same proper case name will cause Route53 DNS delete requests to fail.

The change requested adds .lower() to the module.params.get for both zone and record when used in the underlying code.

Both zone and record are mandatory variables, and as such a more complicated implementation is not needed, as they must always be specified when using this module see lines 169 and 170 for the required state).

If you use lowercase names (or don't use a name variable and share it between a tag and DNS entries) then you will never see this issue.

Tested/Confirmed as an issue in Ansible 1.6.6 and above.
10 years ago
Joe Adams 2206d4b1e0 Added note to files/synchronize module about synchronizing two directories on the same host 10 years ago
Tongliang Liu e26cbb6ace Added support of returning owner's group name in stat module 10 years ago
anatoly techtonik 7f9305b24e files.stat: Expose path in returned result
This is needed to apply subsequent operation on tested path
10 years ago
Michael DeHaan db5668b84c Update README.md 10 years ago
Michael DeHaan 617a52b20d Fix filename error. 10 years ago
Michael DeHaan 385a037cd6 package files 10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago
Michael DeHaan 417309a626 Restructuring. 10 years ago
Michael DeHaan 8cdea3edf0 Core/extras split WIP. 10 years ago
Michael DeHaan 7e94a05dd6 Core/Extras splitting WIP. 10 years ago
Michael DeHaan dc8540c755 Not core. 10 years ago
Michael DeHaan 1e47a969b8 Fix typo in README filename 10 years ago
Michael DeHaan 73123b69fa Move modules into subdirectory. 10 years ago
Michael DeHaan b2b5cc032c Add basic top level files. 10 years ago
James Cammarata a099a3c7f5 Merge branch 'admiller/async_resume' of https://github.com/maxamillion/ansible into maxamillion-admiller/async_resume 10 years ago
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
10 years ago
James Cammarata 61f6a70401 Skip null id route tables when adding/deleting them in ec2_vpc
Fixes #8552
10 years ago
Steven Ringo bcb78335cf Expand description for ec2_facts module 10 years ago
James Cammarata dea00c767b Merge branch 'dmage-devel' into devel 10 years ago
James Cammarata bb8bac490a Merge branch 'devel' of https://github.com/dmage/ansible into dmage-devel 10 years ago
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.
10 years ago
Toshio Kuratomi 724b484577 Merge pull request #9084 from mscherer/fix9704/fix_service
Fix #9704, correctly set changed as false when nothing is done
10 years ago
Michael DeHaan 062cc9bd04 Merge pull request #9082 from mscherer/fix9080/file_not_working_py24
Make file module work on python 2.4, fix #9080
10 years ago
Michael Scherer 7420a450a5 Fix indentation and bug #8895 10 years ago
Michael Scherer c9a0a7ae4b Fix #9704, correctly set changed as false when nothing is done 10 years ago