Commit graph

90 commits

Author SHA1 Message Date
Brian Coca
081dc14ac7 Merge pull request #1617 from vroetman/devel
apache2_module documetation update
2015-06-29 23:55:03 -04:00
Brian Coca
64e357020e Merge pull request #469 from alexkingnz/allow-extra-hash
Extend the htpasswd so it can use different hashes in addition to the 4 currently supported by Apache.
2015-06-29 23:33:31 -04:00
Roetman, Victor
a81dea2b17 apache2_module documetation update
requires a2enmod and a2dismod
2015-06-26 14:50:29 -04:00
Toshio Kuratomi
86677f9ed5 Merge pull request #376 from lorin/django-expanduser
django_manage: expand ~ in app_path parameter
2015-06-25 08:35:50 -07:00
Toshio Kuratomi
6611ee34a5 Fix for when the password file did not exist previously 2015-06-24 11:23:34 -07:00
James Cammarata
a1181b490b Merge pull request #1406 from Jmainguy/htpasswd_blank
remove blank lines from htpasswd file
2015-06-23 13:32:02 -04:00
Greg DeKoenigsberg
2a5f0bde87 Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
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.
2015-06-14 19:48:00 +02:00
Jonathan Mainguy
41049042de remove blank lines from htpasswd file
used standard mktemp()
2015-05-26 19:06:54 -04:00
Florian Apolloner
afd0b3fcaa Added os.path.expanduser to app_path in django_manage 2015-03-29 21:34:29 +02:00
Brian Coca
44ffe73e02 Merge pull request #117 from direvus/apache2-module-word-boundary
Add word boundary in apache2_module regexp
2015-02-16 18:54:00 -05:00
Toshio Kuratomi
477391bb24 Better error messages if a2enmod/a2dismod are not found 2015-01-13 23:18:04 -08:00
Alex King
18183caf86 Extend hashes that can be specified by crypt_scheme beyond those
understood by Apache/Nginx.
2014-12-09 13:33:02 +13:00
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.
2014-12-05 18:08:47 +03:00
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.
2014-12-02 22:33:49 +01:00
Lorin Hochstein
d7db09a0eb django_manage: expand ~ in app_path parameter
Allow users to specify app_path parameters that contain ~, for example:

app_path=~/myproject
2014-11-22 20:59:36 -05:00
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.
2014-10-02 16:32:30 +10:00
Michael DeHaan
385a037cd6 package files 2014-09-26 11:05:47 -04:00
Michael DeHaan
c8e1a2077e file extensions! 2014-09-26 10:37:56 -04:00
Michael DeHaan
417309a626 Restructuring. 2014-09-26 10:13:26 -04:00
Michael DeHaan
73123b69fa Move modules into subdirectory. 2014-09-26 09:23:50 -04:00
James Cammarata
ba062de744 Merge branch '7736' of https://github.com/kcghost/ansible into kcghost-7736 2014-08-08 19:30:04 -05:00
Michael DeHaan
76eb5064f4 Merge pull request #7520 from jjneely/a2enmod
apache2_module module fixes
2014-08-08 12:40:13 -04:00
Casey Fitzpatrick
c0543db5f3 apache2_module handles multiple lines of output, fixes #7736 and #7857 2014-06-24 20:37:49 -04:00
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.
2014-06-17 12:01:14 -04:00
Brian Coca
ac14a8d6ad unified calls to fs function vs duplicate functions for file and
directory
2014-05-24 09:28:45 -04:00
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.
2014-05-23 12:47:57 -04:00
Jack Neely
14ee2e4505 apache2_module: whitespace cleanup
Remove trailing whitespace.
2014-05-23 12:47:49 -04:00
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.
2014-05-21 14:00:12 -04:00
Christian Berendt
0a35850927 made enabled/disabled checks of apache2_module workable 2014-04-28 19:46:34 +02:00
Joel Schuweiler
c1470db8fd Fix example 2014-04-27 12:16:51 -05:00
James Tanner
941d89cf5f Fix version_added for a few parameters in django_manage 2014-04-07 22:57:49 -04:00
Michael DeHaan
54180817cd Add version_added info + changelog 2014-03-28 17:11:21 -04:00
Christian Berendt
5b8cdf6ce2 use module.get_bin_path() for a2enmod 2014-03-28 17:10:15 -04:00
Christian Berendt
a500f63766 removed duplicated <<INCLUDE_ANSIBLE_MODULE_COMMON>> line 2014-03-28 17:10:15 -04:00
Christian Berendt
62813f72a5 added module to enable/disable Apache2 modules
This module uses a2enmod or a2dismod to enable or disable
Apache2 modules.
2014-03-28 17:10:15 -04:00
Michael DeHaan
6c206b3866 Documentation updates for supervisor module changes. 2014-03-28 13:07:13 -04:00
Michael DeHaan
f24a625750 Merge branch 'supervisorctl-support-group' of git://github.com/inetfuture/ansible into devel 2014-03-28 13:04:21 -04:00
Steve Smith
ba1bffde5d Add a JIRA control module for Ansible. This version uses fetch_url rather than urllib2. 2014-03-16 17:14:04 +01:00
Richard C Isaacson
24327b39b2 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 23:04:19 -05:00
James Tanner
fc33860e5d Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -05:00
ToBeReplaced
b950ad6b1c Add comment about mod_admin_extra
Fixes issue #6027.
2014-03-04 09:19:44 -05:00
Richard C Isaacson
52dc20b6d1 Clean up stray space at the end of a line after a period. 2014-02-03 11:52:37 -06:00
mxxcon
970260cc36 Updated docs to have choices for crypt_scheme 2014-01-30 01:05:05 -05:00
inetfuture(Aaron Wang)
a95d6ffd2c supervisorctl: add group support and refine documenation. 2014-01-08 15:09:36 +08:00
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.
2013-12-17 14:45:42 -05:00
James Tanner
4f9aadcc07 Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Steven Davidson
774f27e336 Reports changed status from django_manage migrate 2013-11-22 19:35:19 +00:00
James Cammarata
2bd830369a Checking for a transitional running state in supervisorctl
Fixes #3977
2013-11-19 14:54:20 -06:00