Commit Graph

1331 Commits (60bfd388205e8e9b057b71d66ee00d90edd16f13)

Author SHA1 Message Date
Shaun Zinck 60bfd38820 Added SunOS (Solaris, illumos, etc) service management using svcadm and svcs commands 12 years ago
Jeffrey Chu 18b6091da1 Add quotes around postgresql database name 12 years ago
Piotr Kweclich 2e4c02f93e disabled appending file with garbage when regexp didn't match. 12 years ago
Michael DeHaan b70c26dc45 Merge pull request #2466 from sfromm/issue2449
Limit scope of arguments to service_control() in service module
12 years ago
Michael DeHaan 5c1b436923 Merge pull request #2451 from lwade/pythoninterpreter
Changed python interpreter to be consistent in these modules as compared...
12 years ago
Michael DeHaan cef817c3b4 Merge pull request #2458 from CodeBlock/devel
Fix broken virtualenv link in pip documentation.
12 years ago
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.
12 years ago
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
Ricky Elrod 9af40aa99a Fix broken virtualenv link in pip documentation. 12 years ago
lwade 9dda148679 Changed python interpreter to be consistent in these modules as compared to all others. 12 years ago
Jeffrey Chu efc98a09fe fail when service cannot be found by chkconfig 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 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 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 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
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
Andrew Dunham b4347b08a2 Add Homebrew module 12 years ago
lwade 1748bc2a5b Basic groundwork for s3 module. 12 years ago
Andrew Dunham e63d008ae8 Fix --include-dependencies parameter on RubyGems >= 2.0.0 12 years ago
Rob Parrott 096d4dece4 modified ec2 module to use EC2 idempotency via client-token attribute. 12 years ago
Rob Parrott 416f25eaff added vagrant module 12 years ago
Michael DeHaan 94eefac456 Merge pull request #2391 from bcoca/apt_lock_exception
now catches lock exceptions from apt and returns friendly message
12 years ago
David Hughes dd79d66dba Run pip command from the system's temp directory 12 years ago
Jimmy Tang 935514cde8 Added osrelease and osversion as well as changed the way sysctl is called on OSX 12 years ago
Lorin Hochstein 1de91d2181 Document mysql_(user,db) login_unix_socket option
mysql_user and mysql_db both take a login_unix_socket option.

This patch adds docs that describe how to use it.
12 years ago
Lorin Hochstein 6fd5770dfd .my.cnf: default to login when no user specified
When using a .my.cnf file, when there is no user variable defined,
default to the login user.

This change has the mysql_user module behavior match the behavior
of the mysql command-line client.

Also adds an example .my.cnf to the docs.
12 years ago
Stephen Fromm 73772a41e6 Add check mode to git module
Related to issue #2114.  This hooks in check_mode to git module.  This
will exit with changed=True at the following places:

* If the repo has not been cloned
* If the destination has local modifications, this will exit with
  changed=True.  This is because reset() will exit anyways if there are
  local mods and force is False.
* If the remote HEAD commit id is not the same as that of the local HEAD.
  This is determined by get_remote_head() that runs 'git ls-remote' to
  determine remote HEAD.

Lastly, if this is run with check_mode enabled, this will exit with
changed=False before fetch() is invoked so that no local mods are made.
12 years ago
Serge van Ginderachter cb2b7a4e17 rename user option nonunique tot non_unique 12 years ago
Serge van Ginderachter f980ec37bb Add nonunique option to user module, translating to the -o/--non-unique option to useradd and usermod. 12 years ago
Michael DeHaan fc8d9377d5 Merge pull request #2396 from johanwiren/obsd_facts
Added OpenBSD facts
12 years ago
Michael DeHaan e3e649a963 Merge pull request #2393 from davehughes/pip-expand-virtualenv-path
pip module - expand user home directory variables in virtualenv parameter
12 years ago
Johan Wirén 61256a7e83 Added OpenBSD facts 12 years ago