Commit Graph

4632 Commits (290780d13f3fbada479631363c8d8a5412dd4f69)
 

Author SHA1 Message Date
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.
12 years ago
Stoned Elipot abe126fbd8 Define, when possible, the inventory_dir variable 12 years ago
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.
12 years ago
Ricky Elrod 9af40aa99a Fix broken virtualenv link in pip documentation. 12 years ago
Michael DeHaan 92997ec789 Merge pull request #2457 from robparrott/add_host-inventory-group-fix
invalidate group cache when adding a new group
12 years ago
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. 12 years ago
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. 12 years ago
lwade 9dda148679 Changed python interpreter to be consistent in these modules as compared to all others. 12 years ago
Michael DeHaan 2baece3a03 Merge pull request #2447 from dorfsmay/20130318-ansible-doc
Mention of ansible-doc and man pages for modules.
12 years ago
Yves Dorfsman 8b10cc5946 Mention of ansible-doc and man pages for modules. 12 years ago
lwade a8de66facc adding windows-specific ebs recommendation 12 years ago
Michael DeHaan a4a1545640 Merge pull request #2439 from jochu/service-chkconfig-fail
fail when service cannot be found by chkconfig
12 years ago
lwade e2805e5a06 add better OS detection for BDM 12 years ago
Jeffrey Chu f1829a0f86 attempt to add service to chkconfig when suggested 12 years ago
Jeffrey Chu efc98a09fe fail when service cannot be found by chkconfig 12 years ago
Michael DeHaan 2e797a5155 Merge pull request #2432 from ciupicri/devel-unicode
module_formatter.return_data: use UTF-8 encoding
12 years ago
Harold Spencer Jr 7ab876f19f Added additional filter options for instances for EC2 and Eucalyptus 12 years ago
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.
12 years ago
Michael DeHaan 9bd586acdb Fix bzr module documentation, name is the primary attribute. 12 years ago
Michael DeHaan 1a5ac9d149 Name should be the primary attribute for the 'parent' in the bzr module. 12 years ago
Michael DeHaan 61c1616fe5 Fix version_added attribute on the bzr module 12 years ago
Michael DeHaan 22cd10bc6f Add note about wanting to do crypted passwords with $PASSWORD plugin. 12 years ago
Michael DeHaan afb9ad1358 Fix duplicate Sphinx target in documentation. 12 years ago
Michael DeHaan 64a3839511 Fixup documentation formatting 12 years ago
Michael DeHaan a3dec0fe2b Update changelog since last merge. 12 years ago
Michael DeHaan ce39c18b14 Fixup template documentation so webdocs can generate. 12 years ago
Michael DeHaan 79c22f4f03 Merge pull request #2370 from andreparames/bzr-module
New Bazaar module
12 years ago
Michael DeHaan 13c44ace95 Merge pull request #2421 from robparrott/ec2-idempotency
Make ec2 module idempotent with Amazon EC2 via client-token attribute.
12 years ago
Michael DeHaan 600b0bc5f1 Merge pull request #2357 from abulimov/lvg-module
lvg module for managing LVM volume groups
12 years ago
Michael DeHaan d7a2ac2c57 Merge pull request #2401 from sfromm/git-check-mode
Add check mode to git module
12 years ago
Michael DeHaan 921cdaec48 Merge pull request #2402 from dparalen/ec2_inventory_hostname_check
check hostname presence
12 years ago
Michael DeHaan 6b566cfc1e Merge pull request #2404 from lorin/mysql-mycnf-user
.my.cnf: default to login when no user specified
12 years ago
Michael DeHaan 79efc04bdf Merge pull request #2406 from lorin/mysql-socket-doc
Document mysql_(user,db) login_unix_socket option
12 years ago
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...
12 years ago
Michael DeHaan 917c11ebd7 Merge pull request #2355 from jcftang/macports
Teach the macports module to activate/deactivate packages
12 years ago
Michael DeHaan 4ee08aafa3 Merge pull request #2356 from abulimov/lvol-patch
lvol patch for Debian Squeeze
12 years ago
Michael DeHaan 11d3bd4025 Merge pull request #2375 from sergevanginderachter/user-non-unique
Add nonunique option to user module, translating to the -o/--non-unique ...
12 years ago
Michael DeHaan 61e2ed8402 Merge pull request #2387 from bcoca/template_overrides_note
added docs about in template overrides
12 years ago
Michael DeHaan 5346cbb4a0 Merge pull request #2412 from davehughes/task-expand-sudo-user
Added variable expansion to task sudo_user parameter
12 years ago
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
12 years ago
Michael DeHaan 4dcddcbbec Merge pull request #2427 from andrew-d/andrew-add-homebrew
Add Homebrew module
12 years ago
Michael DeHaan 7be78d503c Merge pull request #2430 from b6d/nagios-module-icingacfg
nagios module: add common locactions of icinga.cfg
12 years ago
Michael DeHaan 3ee53a2760 Merge pull request #2429 from b6d/nagios-module-fix
"nagios" module: fix NameError/'host' not defined
12 years ago
Michael DeHaan 138bfece39 Merge pull request #2424 from lwade/simples3
Basic groundwork for s3 module.
12 years ago
Michael DeHaan 565db8cd40 Merge pull request #2420 from robparrott/vagrant
added vagrant module with cleanup
12 years ago
Michael DeHaan 3821e8dd7c Merge pull request #2428 from ciupicri/devel-rpm
RPM packaging: check properly if using RHEL5 or older
12 years ago
Bernhard Weitzhofer 2e60692082 nagios module: add common locactions of icinga.cfg
Icinga should be compatible to Nagios (in our case the nagios module works well
with our Icinga installation)
12 years ago
Bernhard Weitzhofer aa7ea10826 "nagios" module: fix NameError/'host' not defined
Add missing 'host' variable, which is read a few lines later on in some cases.
12 years ago
Cristian Ciupitu 4d84a35872 RPM packaging: check properly if using RHEL5 or older 12 years ago
Andrew Dunham b4347b08a2 Add Homebrew module 12 years ago