Commit graph

12861 commits

Author SHA1 Message Date
James Cammarata
2b0b2f42df CHANGELOG update for ec2 filtering and file "following" param 2014-09-16 15:26:10 -05:00
James Cammarata
fa32bd34d6 Merge branch 'michalgasek-ec2-tag-filter' into devel 2014-09-16 15:24:46 -05:00
James Cammarata
21409d6052 Merge branch 'ec2-tag-filter' of https://github.com/michalgasek/ansible into michalgasek-ec2-tag-filter 2014-09-16 15:11:05 -05:00
Michael DeHaan
489574e072 Docs indentation - this time with feeling 2014-09-16 15:40:00 -04:00
Michael DeHaan
506d4554dc Fix documentation indent levels. 2014-09-16 15:27:40 -04:00
James Cammarata
4a9cf3f3f2 Allow hostvars variables to be templated
Fixes #7844
2014-09-16 14:25:55 -05:00
Michael DeHaan
590cfbac29 Merge pull request #9028 from dhoss/devel
updated git module documentation
2014-09-16 15:19:44 -04:00
James Cammarata
4f7fcf3463 Merge pull request #9026 from tedder/patch-1
rearrange description/short_description
2014-09-16 14:04:45 -05:00
James Cammarata
b9a1b0f088 Merge pull request #9025 from sivel/doc-vault-password-file
Document vault_password_file in intro_configuration
2014-09-16 14:02:41 -05:00
Toshio Kuratomi
9f70830569 My fix was wrong again. Base this try off of @mantiz's fix in #9016 2014-09-16 11:46:09 -07:00
Toshio Kuratomi
733290a731 Fix the case where a docker image is not part of a namespace.
Fixes #9016
2014-09-16 11:39:15 -07:00
James Cammarata
fdf126a337 Add note to ec2_vol state param regarding list option added in 1.8 2014-09-16 13:20:39 -05:00
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
2014-09-16 12:05:55 -05:00
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.
2014-09-16 11:05:37 -06:00
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
2014-09-16 09:53:13 -07:00
Ted Timmons
d98bc79f77 further cleanup 2014-09-16 09:37:01 -07:00
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.
2014-09-16 09:35:20 -07:00
Matt Martz
c319df78f8 Also document force_color 2014-09-16 10:31:50 -05:00
Matt Martz
c1555987d7 Document vault_password_file in intro_configuration 2014-09-16 10:22:32 -05:00
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.
2014-09-16 10:25:21 +10:00
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.
2014-09-16 10:25:21 +10:00
Toshio Kuratomi
c6b26ff7c7 Remove duplicate call to remove tmp role file 2014-09-15 14:45:57 -07:00
Toshio Kuratomi
1e68041f9c Merge pull request #8995 from mscherer/fix_galaxy
Do not remove local role file if given on the commandline
2014-09-15 14:45:21 -07:00
Toshio Kuratomi
49a6af1378 Test that file touch does not keep a new file if we failed to set its
attributes
2014-09-15 12:36:52 -07:00
Toshio Kuratomi
a44ea2d1b7 Do not keep a new file if we fail to set its attributes. 2014-09-15 12:36:52 -07:00
James Cammarata
cdf938f2c2 Ensure remote files are chmod'd properly for su/su_user too
Fixes #8594
2014-09-15 13:15:46 -05:00
James Cammarata
0c4a7492bf Ensure checkmode is honored for templates that haven't changed
Fixes #8998
2014-09-15 11:37:53 -05:00
Toshio Kuratomi
9fb6cabe21 Fix splitting the tag from the image name
Fixes #8983
2014-09-15 09:01:07 -07:00
James Cammarata
8d6ed6e613 Merge pull request #8996 from mscherer/improve_doc_defaults
Mention defaults subdirectory in a more visible way
2014-09-15 09:58:34 -05:00
James Cammarata
d9b5986472 Merge pull request #8976 from nullren/patch-1
Update playbooks_variables.rst
2014-09-15 09:29:10 -05:00
James Cammarata
7a1a580e37 Merge pull request #8973 from sergevanginderachter/vsphere_guest_docfix
vsphere_guest module doc fix
2014-09-15 09:27:15 -05:00
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.
2014-09-13 13:25:07 +02:00
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.
2014-09-13 12:31:56 +02:00
Michael DeHaan
267b3fb7b7 Merge pull request #8988 from bbasleeper/bugfix_yum_module
Fix a bug causing yum module to not update to latest in some cases
2014-09-12 15:43:43 -04:00
Bruno BAILLUET
580968ca77 Fix a typo on is_update call inside latest function 2014-09-12 18:19:00 +02:00
James Cammarata
1c8f999e51 Merge pull request #8586 from ericwb/fix_glance_doc
Fix the docs for glance_image.endpoint_type
2014-09-11 19:44:43 -05:00
renning bruns
49aa7ee523 Update playbooks_variables.rst
very small and minor addition, but I couldn't find anywhere that answered this (now obvious) question I had of whether or not facts could also be yaml files.
2014-09-11 14:41:51 -07:00
Michael DeHaan
fb13e2bf2e Merge pull request #8853 from kvar/devel
zypper: handle lists of packages efficiently
2014-09-11 17:30:21 -04:00
James Cammarata
dc9482d548 Fix quoting issues in lineinfile for individual single-quotes
Fixes #8806
2014-09-11 16:27:48 -05:00
Toshio Kuratomi
1c3039f079 Omit tag from parsed image name
Fixes #8925
2014-09-11 11:27:00 -07:00
James Cammarata
503f7afbd8 Merge branch 'hfinucane-gh-7432' into devel 2014-09-11 12:53:46 -05:00
James Cammarata
61c76245da Don't printout async callbacks when the task is skipped 2014-09-11 12:50:21 -05:00
James Cammarata
178075489b Merge branch 'gh-7432' of https://github.com/hfinucane/ansible into hfinucane-gh-7432 2014-09-11 12:42:52 -05:00
Michael DeHaan
d6e6d2a6ca Remove regex related to baby-JSON parsing only. 2014-09-11 13:30:10 -04:00
James Cammarata
22dbb65b13 Move initscript rc check to later in service status check
Fixes #7284
2014-09-11 12:11:06 -05:00
Michael DeHaan
d9e0a5ed22 Use correct keyword for this function. 2014-09-11 12:32:51 -04:00
Michael DeHaan
26cdddaebf Tracebacks are now catchable with ignore_errors and have streamlined output. Also removes 'baby-JSON' for bash modules. 2014-09-11 12:27:21 -04:00
James Cammarata
6c6a0f068e Updating PR testing document with manual branch checkout steps 2014-09-11 11:05:56 -05:00
James Cammarata
e54178f904 Catch additional errors in fetch_url
Fixes #8971
2014-09-11 09:47:28 -05:00
Serge van Ginderachter
c3614853ee vsphere_guest module doc fix 2014-09-11 15:47:22 +02:00