Commit Graph

5628 Commits (05904a7e177b300d62f426ba04affcee31166112)
 

Author SHA1 Message Date
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
Michael Scherer d15931f15a Make file module work on python 2.4, fix #9080
Python 2.4 do not support "except ... as ..." construct, so
revert back to the older syntax.
10 years ago
James Cammarata 0d0576a97f Add note on ec2_lc regarding immutability of configs once created
Fixes #8927
10 years ago
Toshio Kuratomi 74e466557d Merge pull request #9060 from jamespharaoh/apt-lang
add LANG=C to apt module so the string matches on the output always matc...
10 years ago
Toshio Kuratomi 7b100dd389 Be more specific in checking if a job restarted successfully.
Fixes: #9056
10 years ago
Toshio Kuratomi 36083c3b90 Failure to enable a service now fails the task
Fixes: 8855
10 years ago
James Pharaoh 27ccd01db4 add LANG=C to apt module so the string matches on the output always match 10 years ago
James Cammarata d5546d7a0a Merge pull request #9052 from EvanDotPro/docs/fix-rax-public-key-example
Update rax root pubkey example
10 years ago
Evan Coury 54a979ddd3 Update rax root pubkey example
The example was showing how to use the `files` option to pass in a local file as an authorized public key for root. While this works, it's a bit sloppy, given that there's a specific option, `key_name` which will use one of your public keys on your rackspace account and add it as an authorized key for root. In our case, one of our admins didn't notice the `key_name` option because they scrolled straight to the example and saw the `files` strategy.

I propose that the example still shows `files`, but not using a root public key as an example, and instead also demonstrate the `key_name` option so that it's clear from the example how to get the initial root public key deployed.
10 years ago
Sam Pierson 3f8e45f864 [#9048] convert Route53 TTL to integer before comparison
boto/Route53 are returning TTL as a string.
The route53 module is comparing it with an integer and therfore thinks the DNS entry has always changed.
10 years ago
James Cammarata 633f86d30a Allow filtering by availability zone for exact_count with ec2
Fixes #8863
10 years ago
Toshio Kuratomi a50258d26a remove debugging that was causing failure 10 years ago
Toshio Kuratomi 2e16bd3a44 Refactor the Linux service_enable() method
* Fix check_mode for initctl systems

Fixes #9009
10 years ago
Toshio Kuratomi 104401805b Revert "Refactor the Linux service_enable() method" needs some debugging
This reverts commit e294e31fd3.
10 years ago
Toshio Kuratomi c362902f50 Refactor the Linux service_enable() method
* Fix check_mode for initctl systems

Fixes #9009
10 years ago
James Cammarata 0257cb1201 Allow git repo queries without a clone when update=no
This commit also makes the dest parameter optional, unless update=yes
(the default), since it is not required for queries without an update.

Fixes #8630
10 years ago
James Cammarata 2fac1fd865 Ensure port in docker expose list is a string
Fixes #8731
10 years ago
Michael DeHaan 40d2932b5a Merge pull request #9028 from dhoss/devel
updated git module documentation
10 years ago
James Cammarata 7b5c76e122 Merge pull request #9026 from tedder/patch-1
rearrange description/short_description
10 years ago
Toshio Kuratomi 3f4bdce67e My fix was wrong again. Base this try off of @mantiz's fix in #9016 10 years ago
Toshio Kuratomi e51bcf90a0 Fix the case where a docker image is not part of a namespace.
Fixes #9016
10 years ago