Commit Graph

12475 Commits (3e992b58244ad5fb79485be16b22a503a4fbd1e2)
 

Author SHA1 Message Date
James Cammarata 706cc1a35e Merge pull request #9049 from omadahealth/issue_9048
[#9048] convert Route53 TTL to integer before comparison
10 years ago
James Cammarata 1d3a8bd39c Updating current ansible version on docsite index 10 years ago
Evan Coury f445e3c606 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 44cab4bf75 [#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 6b1ae82acc Allow filtering by availability zone for exact_count with ec2
Fixes #8863
10 years ago
James Cammarata c3612e08f9 Move delegate_to out of runner module_vars to prevent bleeding across runs
Previously, the delegate_to value was stored in the module_vars of runner,
which could lead to bleeding that value across runs and incorrect hosts
being delegated to. This patch moves the value to a local variable in
the Runner class with some related refactoring of _compute_delegate() in
Runner (since the value is no longer required to be a parameter).

Fixes #8705
10 years ago
Toshio Kuratomi 5ec8c28d2a remove debugging that was causing failure 10 years ago
Toshio Kuratomi 8dfc54b517 Refactor the Linux service_enable() method
* Fix check_mode for initctl systems

Fixes #9009
10 years ago
Toshio Kuratomi 24a33d5c10 Revert "Refactor the Linux service_enable() method" needs some debugging
This reverts commit e294e31fd3.
10 years ago
James Cammarata ed3c9c40ca Redoing patch for hostvars fix, since the previous one broke other tests 10 years ago
James Cammarata 3180a37457 Revert "Revert to using just the combined_cache for HostVars"
This reverts commit e9229cfeaa.
10 years ago
Toshio Kuratomi e294e31fd3 Refactor the Linux service_enable() method
* Fix check_mode for initctl systems

Fixes #9009
10 years ago
James Cammarata e9229cfeaa Revert to using just the combined_cache for HostVars 10 years ago
James Cammarata 28f6a18ef6 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 b7a74e216f Merge pull request #8948 from sergevanginderachter/issue_8823
ansible-galaxy: exit with rc 1 if role doesn't exist/is not found
10 years ago
James Cammarata 4f03dd65ce Ensure port in docker expose list is a string
Fixes #8731
10 years ago
James Cammarata bc583dabbc Removing reference to ansible-pull in bin/ansible-vault 10 years ago
James Cammarata 2b0b2f42df CHANGELOG update for ec2 filtering and file "following" param 10 years ago
James Cammarata fa32bd34d6 Merge branch 'michalgasek-ec2-tag-filter' into devel 10 years ago
James Cammarata 21409d6052 Merge branch 'ec2-tag-filter' of https://github.com/michalgasek/ansible into michalgasek-ec2-tag-filter 10 years ago
Michael DeHaan 489574e072 Docs indentation - this time with feeling 10 years ago
Michael DeHaan 506d4554dc Fix documentation indent levels. 10 years ago
James Cammarata 4a9cf3f3f2 Allow hostvars variables to be templated
Fixes #7844
10 years ago
Michael DeHaan 590cfbac29 Merge pull request #9028 from dhoss/devel
updated git module documentation
10 years ago
James Cammarata 4f7fcf3463 Merge pull request #9026 from tedder/patch-1
rearrange description/short_description
10 years ago
James Cammarata b9a1b0f088 Merge pull request #9025 from sivel/doc-vault-password-file
Document vault_password_file in intro_configuration
10 years ago
Toshio Kuratomi 9f70830569 My fix was wrong again. Base this try off of @mantiz's fix in #9016 10 years ago
Toshio Kuratomi 733290a731 Fix the case where a docker image is not part of a namespace.
Fixes #9016
10 years ago
James Cammarata fdf126a337 Add note to ec2_vol state param regarding list option added in 1.8 10 years ago
James Cammarata b376e208c7 Adding "follow" param for file/copy options
Also modifies the template action plugin to use this new param
when executing the file/copy modules for templating so that links
are preserved correctly.

Fixes #8998
10 years ago
Devin Austin 5dd9231743 updated git module documentation
Clarified key_file option for the git module, since it requires the user to specify a private key, not a public key.
10 years ago
Toshio Kuratomi 79a2e586fe Make systemd vs rht detection more robust for centos
Centos 6.x and below use an old RHT style of configuring hostname.
CentOS 7.x and better use systemd.  Instead of depending on the
distribution string which seems to have changed over the course of 6.x
we need to explicitly check the version.

Fixes #8997
10 years ago
Ted Timmons d98bc79f77 further cleanup 10 years ago
Ted Timmons 61dfeaa43c rearrange description/short_description
it's really dorked on [the documentation page](http://docs.ansible.com/ec2_elb_lb_module.html). This puts it in line with other modules.
10 years ago
Matt Martz c319df78f8 Also document force_color 10 years ago
Matt Martz c1555987d7 Document vault_password_file in intro_configuration 10 years ago
Will Thames 2303044ffc Applied fix for sudo with no prompt to paramiko
Effectively reproduces @sivel's work from #8900 but for
the paramiko connection. Fixes #8418 when using paramiko

This allows `_remote_md5` to work if a sudo password is
passed in when no sudo password is required.
10 years ago
Matt Martz de77f33796 Don't throw away useful stdout and stderr. Fixes #8418
When supplying a sudo password to a server that uses passwordless sudo,
we should not throw away useful stdout and stderr. This is particularly
important for modules that perform md5 checks as part of the pre module
execution.
10 years ago
Toshio Kuratomi c6b26ff7c7 Remove duplicate call to remove tmp role file 10 years ago
Toshio Kuratomi 1e68041f9c Merge pull request #8995 from mscherer/fix_galaxy
Do not remove local role file if given on the commandline
10 years ago
Toshio Kuratomi 49a6af1378 Test that file touch does not keep a new file if we failed to set its
attributes
10 years ago
Toshio Kuratomi a44ea2d1b7 Do not keep a new file if we fail to set its attributes. 10 years ago
James Cammarata cdf938f2c2 Ensure remote files are chmod'd properly for su/su_user too
Fixes #8594
10 years ago
James Cammarata 0c4a7492bf Ensure checkmode is honored for templates that haven't changed
Fixes #8998
10 years ago
Toshio Kuratomi 9fb6cabe21 Fix splitting the tag from the image name
Fixes #8983
10 years ago
James Cammarata 8d6ed6e613 Merge pull request #8996 from mscherer/improve_doc_defaults
Mention defaults subdirectory in a more visible way
10 years ago
James Cammarata d9b5986472 Merge pull request #8976 from nullren/patch-1
Update playbooks_variables.rst
10 years ago
James Cammarata 7a1a580e37 Merge pull request #8973 from sergevanginderachter/vsphere_guest_docfix
vsphere_guest module doc fix
10 years ago
Michael Scherer 8fb14db802 Mention defaults subdirectory in a more visible way
All examples do not show it, so only someone reading the doc from
end to end would know about it.
10 years ago
Michael Scherer b9acaccc1d Do not remove local role file if given on the commandline
using this (for testing purpose) :
  $ ansible-galaxy install COPYING
  - error: the file downloaded was not a tar.gz
  - COPYING was NOT installed successfully.
  - you can use --ignore-errors to skip failed roles.

this result in COPYING being erased, which is surprising for the user.
This also prevent erasing requirements.yml if someone use the wrong flag.
10 years ago