Commit Graph

81 Commits (d393df4bce9969bcc1d4de5c2f18f9a38c2337ce)

Author SHA1 Message Date
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 10 years ago
Kamil Madac b1160ade9a Better error handling in supervisorctl module.
If execution of supervisorctl was not successful (exit code > 0),
module silently supress this error and returns changed = false,
which turns to OK task state.
This is very confusing, when supervisorctl needs authentication,
and credentials are not specified in module or are incorrect,
services are not restarted/started/stopped without raising an error.
10 years ago
Florian Apolloner afd0b3fcaa Added os.path.expanduser to app_path in django_manage 10 years ago
Brian Coca 44ffe73e02 Merge pull request #117 from direvus/apache2-module-word-boundary
Add word boundary in apache2_module regexp
10 years ago
Toshio Kuratomi 477391bb24 Better error messages if a2enmod/a2dismod are not found 10 years ago
Peter Bwire 1710b45075 Update django_manage to add database option for migrate
Allow passing the database option to the django_manage module for migrations. This is usefull in situations where multiple databases are used by a django application.
10 years ago
Tomasz Kontusz 18e641838a supervisorctl: Don't try to start a starting program
Starting a "STARTING" program throws ERROR (already started),
so don't do that.
10 years ago
Brendan Jurd 6157a6552f Add word boundary in apache2_module regexp
Add a word boundary \b to the regexp for checking the output of a2{en,dis}mod,
to avoid a false positive for a module that ends with the same text as the
module we're working on.

For example, the previous regexp r'.*spam already enabled' would also match
against 'eggs_spam already enabled'.

Also, get rid of the redundant '.*' from the end of the regexp.
10 years ago
Michael DeHaan 385a037cd6 package files 10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago
Michael DeHaan 417309a626 Restructuring. 10 years ago
Michael DeHaan 73123b69fa Move modules into subdirectory. 10 years ago
James Cammarata ba062de744 Merge branch '7736' of https://github.com/kcghost/ansible into kcghost-7736 10 years ago
Michael DeHaan 76eb5064f4 Merge pull request #7520 from jjneely/a2enmod
apache2_module module fixes
10 years ago
Casey Fitzpatrick c0543db5f3 apache2_module handles multiple lines of output, fixes #7736 and #7857 11 years ago
Joel Crocker df0f2b9c52 Updates django_manage so it populates VIRTUAL_ENV
Virtualenv's activate script sets the VIRTUAL_ENV environment variable to the path of the virtualenv. Checking this variable is a reasonably common way to verify that execution is happening in a virtualenv. It would be convenient if this module's virtualenv handling set this environment variable.
11 years ago
Brian Coca ac14a8d6ad unified calls to fs function vs duplicate functions for file and
directory
11 years ago
Jack Neely 1452a058df apache2_module: Handle dep resolution
The apache2_module module did not properly handle when a2enmod would
handle apache module dependancies.  It would always return a state of
changed.  I've updated the regular expression to properly parse that
output as well as the normal output.  A good example of this is the
mod_proxy_http module.
11 years ago
Jack Neely 14ee2e4505 apache2_module: whitespace cleanup
Remove trailing whitespace.
11 years ago
Michael Warkentin c826b8573c Update `command` description
The docs were a little bit out of date with what commands are available to be run. They also didn't explain that you could pass custom commands - I almost went down the path of trying to run our custom management commands with the generic Ansible `command` module.
11 years ago
Christian Berendt 0a35850927 made enabled/disabled checks of apache2_module workable 11 years ago
Joel Schuweiler c1470db8fd Fix example 11 years ago
James Tanner 941d89cf5f Fix version_added for a few parameters in django_manage 11 years ago
Michael DeHaan 54180817cd Add version_added info + changelog 11 years ago
Christian Berendt 5b8cdf6ce2 use module.get_bin_path() for a2enmod 11 years ago
Christian Berendt a500f63766 removed duplicated <<INCLUDE_ANSIBLE_MODULE_COMMON>> line 11 years ago
Christian Berendt 62813f72a5 added module to enable/disable Apache2 modules
This module uses a2enmod or a2dismod to enable or disable
Apache2 modules.
11 years ago
Michael DeHaan 6c206b3866 Documentation updates for supervisor module changes. 11 years ago
Michael DeHaan f24a625750 Merge branch 'supervisorctl-support-group' of git://github.com/inetfuture/ansible into devel 11 years ago
Steve Smith ba1bffde5d Add a JIRA control module for Ansible. This version uses fetch_url rather than urllib2. 11 years ago
Richard C Isaacson 24327b39b2 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
James Tanner fc33860e5d Force command action to not be executed by the shell unless specifically enabled 11 years ago
ToBeReplaced b950ad6b1c Add comment about mod_admin_extra
Fixes issue #6027.
11 years ago
Richard C Isaacson 52dc20b6d1 Clean up stray space at the end of a line after a period. 11 years ago
mxxcon 970260cc36 Updated docs to have choices for crypt_scheme 11 years ago
inetfuture(Aaron Wang) a95d6ffd2c supervisorctl: add group support and refine documenation. 11 years ago
Roger López 5e77eb70e4 django_manage need not require virtualenv in PATH
The virtualenv parameter to the django_manage command is used to locate
the virtualenv and build it if necessary.  Access to the virtualenv
executable is only needed if the virtualenv directory doesn't exist and
needs to be built.  This patch allows for the situation where a
virtualenv that is not in the PATH was used to create a virtualenv prior
to running the django_manage module.
11 years ago
James Tanner 4f9aadcc07 Addresses #5023 Fix import comments 11 years ago
James Tanner 38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Steven Davidson 774f27e336 Reports changed status from django_manage migrate 11 years ago
James Cammarata 2bd830369a Checking for a transitional running state in supervisorctl
Fixes #3977
11 years ago
Michael DeHaan 08996d78d6 Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
11 years ago
jctanner 97ce9b022c Merge pull request #4510 from jhoekx/jboss-module
Add jboss module
11 years ago
James Tanner b69d3abc00 Fix typo in ejabberd_user module docstrings 11 years ago
jctanner 5fb82afb29 Merge pull request #4329 from privateip/devel
ejabberd_user module for managing users in ejabberd
11 years ago
Patrick Michaud c936bc67bb Allow generic django_management commands
This commit removes the restriction on django management commands.  If a command is unknown to the django installation, there will be a concise error produced.

for example:

  tasks:
    - name: invalid command
      django_manage: virtualenv="/valid/virtualenv" app_path="/valid/app_path" command="nowaydude"

Results in:

failed: [hostname] => {"cmd": "python manage.py nowaydude", "failed": true}
msg: stdout: Unknown command: 'nowaydude'
Type 'manage.py help' for usage.

:stderr: Unknown django command: nowaydude
11 years ago
Jeroen Hoekx fa53665e00 Add jboss module to manage deployments to JBoss. 11 years ago
Thomas Omans e83eb54d1f supervisorctl: user expansion on config filepath 11 years ago
Michael DeHaan beae21dd40 Remove examples of module antipattern of setting the choices array for boolean types. 11 years ago
Javier Candeira 047164adac fix django_manage migrate command 11 years ago