Michael DeHaan
fce18d50ed
Merge pull request #2468 from tgerla/devel
...
Add links to the ansible-examples repository in docs
2013-03-20 18:56:59 -07:00
Michael DeHaan
8d85b27ac9
Merge pull request #2472 from sfromm/issue2471
...
Fixes for get_remote_head in git module
2013-03-20 18:56:20 -07:00
Stephen Fromm
b694b9a66e
Fixes for get_remote_head in git module
...
See issue #2471
This fixes get_remote_head() to be smarter about how to check remote
head. It checks if it is a remote branch or tag and then checks for the
remote object id associated with it. If it is sha1, get_remote_head()
returns it as-is since there doesn't appear to be a way to check a
remote repository for a specific object/sha1. is_remote_tag() is added
to help out the new functionalit in get_remote_head().
In main(), if check_mode is true and version is a sha1, the module now
checks to see if the object is present.
2013-03-20 14:28:06 -07:00
Tim Gerla
242f988daf
Add links to the ansible-examples repository
2013-03-20 09:45:41 -07:00
Stephen Fromm
5194a71a70
Limit scope of arguments to service_control() in service module
...
This fixes handling of arguments (module argument) in service_control().
It is now locally scoped such that modifications to it, in the case of a
systemd host, do not later impact subsequent calls to service_control().
See issue #2449 .
Without patch:
ansible-service[6177]: Command /usr/bin/systemctl stop cups cups , daemonize True
With patch:
ansible-service[6475]: Command /usr/bin/systemctl start cups , daemonize True
I also updated the comments to reflect the case where systemd is really
being called.
2013-03-20 08:50:36 -07:00
Stoned Elipot
abe126fbd8
Define, when possible, the inventory_dir variable
2013-03-20 00:41:01 +01:00
Stephen Fromm
cdb7f8ecf0
Make logging to journal match what goes to syslog on non-systemd hosts
...
This makes the log message the same, whether it is sent to systemd's
journal or to syslog. It retains the extra fields that are passed to
journal, such as MOUDLE=<name> and additional arguments. Since journal
will reflect messages to syslog, this keeps what goes to syslog
informative instead of the terse 'Ansible module invoked'.
See issue #2461 .
2013-03-19 16:07:15 -07:00
Ricky Elrod
9af40aa99a
Fix broken virtualenv link in pip documentation.
2013-03-19 14:12:54 -04:00
Michael DeHaan
92997ec789
Merge pull request #2457 from robparrott/add_host-inventory-group-fix
...
invalidate group cache when adding a new group
2013-03-19 11:03:13 -07:00
Rob Parrott
149f1f9f3c
invalidate group cache so that a group added by the add_host module will be relfected in the groups variable in later plays.
2013-03-19 13:57:45 -04:00
Rob Parrott
81e2d871aa
inject a dictionary of avaiable variables and the environment into the executor, so that templates can be used to debug playbooks by dumping more of the available context.
2013-03-19 13:04:57 -04:00
lwade
9dda148679
Changed python interpreter to be consistent in these modules as compared to all others.
2013-03-19 16:07:36 +00:00
Michael DeHaan
2baece3a03
Merge pull request #2447 from dorfsmay/20130318-ansible-doc
...
Mention of ansible-doc and man pages for modules.
2013-03-18 21:13:49 -07:00
Yves Dorfsman
8b10cc5946
Mention of ansible-doc and man pages for modules.
2013-03-18 20:31:42 -06:00
lwade
a8de66facc
adding windows-specific ebs recommendation
2013-03-18 17:02:39 +00:00
Michael DeHaan
a4a1545640
Merge pull request #2439 from jochu/service-chkconfig-fail
...
fail when service cannot be found by chkconfig
2013-03-18 07:58:17 -07:00
lwade
e2805e5a06
add better OS detection for BDM
2013-03-18 12:00:52 +00:00
Jeffrey Chu
f1829a0f86
attempt to add service to chkconfig when suggested
2013-03-18 01:17:41 -07:00
Jeffrey Chu
efc98a09fe
fail when service cannot be found by chkconfig
2013-03-18 01:12:28 -07:00
Michael DeHaan
2e797a5155
Merge pull request #2432 from ciupicri/devel-unicode
...
module_formatter.return_data: use UTF-8 encoding
2013-03-17 18:50:53 -07:00
Harold Spencer Jr
7ab876f19f
Added additional filter options for instances for EC2 and Eucalyptus
2013-03-17 15:51:41 -05:00
Cristian Ciupitu
29aaa5e693
module_formatter.return_data: use UTF-8 encoding
...
The text parameter can contain non-ASCII characters, so we'll encode it
using UTF-8. For example the DOCUMENTATION of the bzr module has such
characters in the name of the author.
2013-03-17 19:55:56 +02:00
Michael DeHaan
9bd586acdb
Fix bzr module documentation, name is the primary attribute.
2013-03-17 11:53:27 -04:00
Michael DeHaan
1a5ac9d149
Name should be the primary attribute for the 'parent' in the bzr module.
2013-03-17 11:52:48 -04:00
Michael DeHaan
61c1616fe5
Fix version_added attribute on the bzr module
2013-03-17 11:51:34 -04:00
Michael DeHaan
22cd10bc6f
Add note about wanting to do crypted passwords with $PASSWORD plugin.
2013-03-17 11:48:27 -04:00
Michael DeHaan
afb9ad1358
Fix duplicate Sphinx target in documentation.
2013-03-17 11:46:25 -04:00
Michael DeHaan
64a3839511
Fixup documentation formatting
2013-03-17 11:45:22 -04:00
Michael DeHaan
a3dec0fe2b
Update changelog since last merge.
2013-03-17 11:39:57 -04:00
Michael DeHaan
ce39c18b14
Fixup template documentation so webdocs can generate.
2013-03-17 11:24:32 -04:00
Michael DeHaan
79c22f4f03
Merge pull request #2370 from andreparames/bzr-module
...
New Bazaar module
2013-03-17 08:21:02 -07:00
Michael DeHaan
13c44ace95
Merge pull request #2421 from robparrott/ec2-idempotency
...
Make ec2 module idempotent with Amazon EC2 via client-token attribute.
2013-03-17 08:19:15 -07:00
Michael DeHaan
600b0bc5f1
Merge pull request #2357 from abulimov/lvg-module
...
lvg module for managing LVM volume groups
2013-03-17 08:06:04 -07:00
Michael DeHaan
d7a2ac2c57
Merge pull request #2401 from sfromm/git-check-mode
...
Add check mode to git module
2013-03-17 07:33:30 -07:00
Michael DeHaan
921cdaec48
Merge pull request #2402 from dparalen/ec2_inventory_hostname_check
...
check hostname presence
2013-03-17 07:32:58 -07:00
Michael DeHaan
6b566cfc1e
Merge pull request #2404 from lorin/mysql-mycnf-user
...
.my.cnf: default to login when no user specified
2013-03-17 07:32:14 -07:00
Michael DeHaan
79efc04bdf
Merge pull request #2406 from lorin/mysql-socket-doc
...
Document mysql_(user,db) login_unix_socket option
2013-03-17 07:31:49 -07:00
Michael DeHaan
ff4f9f217b
Merge pull request #2407 from jcftang/setup-osx-facts
...
Added osrelease and osversion as well as changed the way sysctl is calle...
2013-03-17 07:31:34 -07:00
Michael DeHaan
917c11ebd7
Merge pull request #2355 from jcftang/macports
...
Teach the macports module to activate/deactivate packages
2013-03-17 07:29:43 -07:00
Michael DeHaan
4ee08aafa3
Merge pull request #2356 from abulimov/lvol-patch
...
lvol patch for Debian Squeeze
2013-03-17 07:28:54 -07:00
Michael DeHaan
11d3bd4025
Merge pull request #2375 from sergevanginderachter/user-non-unique
...
Add nonunique option to user module, translating to the -o/--non-unique ...
2013-03-17 07:22:06 -07:00
Michael DeHaan
61e2ed8402
Merge pull request #2387 from bcoca/template_overrides_note
...
added docs about in template overrides
2013-03-17 07:20:54 -07:00
Michael DeHaan
5346cbb4a0
Merge pull request #2412 from davehughes/task-expand-sudo-user
...
Added variable expansion to task sudo_user parameter
2013-03-17 07:11:41 -07:00
Michael DeHaan
d4f7b45395
Merge pull request #2418 from davehughes/pip-fix-run-directory
...
pip module - run from the system's temp directory to avoid permissions problem
2013-03-17 07:04:03 -07:00
Michael DeHaan
4dcddcbbec
Merge pull request #2427 from andrew-d/andrew-add-homebrew
...
Add Homebrew module
2013-03-17 07:02:42 -07:00
Michael DeHaan
7be78d503c
Merge pull request #2430 from b6d/nagios-module-icingacfg
...
nagios module: add common locactions of icinga.cfg
2013-03-17 07:02:13 -07:00
Michael DeHaan
3ee53a2760
Merge pull request #2429 from b6d/nagios-module-fix
...
"nagios" module: fix NameError/'host' not defined
2013-03-17 07:01:34 -07:00
Michael DeHaan
138bfece39
Merge pull request #2424 from lwade/simples3
...
Basic groundwork for s3 module.
2013-03-17 07:01:12 -07:00
Michael DeHaan
565db8cd40
Merge pull request #2420 from robparrott/vagrant
...
added vagrant module with cleanup
2013-03-17 06:59:24 -07:00
Michael DeHaan
3821e8dd7c
Merge pull request #2428 from ciupicri/devel-rpm
...
RPM packaging: check properly if using RHEL5 or older
2013-03-17 06:29:13 -07:00