Commit graph

45 commits

Author SHA1 Message Date
inetfuture(Aaron Wang)
fbd3902652 supervisorctl: add group support and refine documenation. 2014-01-08 15:09:36 +08:00
James Tanner
ad837709bd Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Steven Davidson
f5d9679abc Reports changed status from django_manage migrate 2013-11-22 19:35:19 +00:00
James Cammarata
bfb1d469e6 Checking for a transitional running state in supervisorctl
Fixes #3977
2013-11-19 14:54:20 -06:00
Michael DeHaan
f7c3975f21 Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
2013-11-18 18:55:49 -05:00
jctanner
d14d20327a Merge pull request #4510 from jhoekx/jboss-module
Add jboss module
2013-11-14 08:26:56 -08:00
James Tanner
2fd56efb9e Fix typo in ejabberd_user module docstrings 2013-11-13 10:59:37 -05:00
jctanner
558d0b322a Merge pull request #4329 from privateip/devel
ejabberd_user module for managing users in ejabberd
2013-11-13 07:56:15 -08:00
Patrick Michaud
c1e241577c 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
2013-10-18 17:26:10 -07:00
Jeroen Hoekx
c16f4f0d91 Add jboss module to manage deployments to JBoss. 2013-10-15 08:53:10 +02:00
Thomas Omans
1dbdd9d6d1 supervisorctl: user expansion on config filepath 2013-10-12 15:57:42 -07:00
Michael DeHaan
119b6d73dd Remove examples of module antipattern of setting the choices array for boolean types. 2013-10-11 08:45:13 -04:00
Javier Candeira
f8255b538e fix django_manage migrate command 2013-10-10 00:57:01 +11:00
Stoned Elipot
b03912278e Fix compatibility issue with passlib version < 1.6 (as encountered on eg EL6 systems)
- passlib.apache.HtpasswdFile's 'default_scheme' was called 'default'
before passlib version 1.6
- while here also deal with passlib.apache.HtpasswdFile's older
'autoload' paramter vs the newer 'new' one.
2013-10-04 03:18:17 +02:00
Michael DeHaan
42eeac5aba htpasswd documentation formatting fix 2013-10-02 08:24:21 -04:00
jctanner
351c4d749e Merge pull request #4163 from lorin/htpasswd-doc
htpasswd docs: add notes about depending on python-passlib
2013-10-01 19:19:40 -07:00
Peter Sprygada
7821b24144 initial ejabberd_user module 2013-10-01 16:21:25 -04:00
James Cammarata
2ed803837e Merge pull request #4228 from mragh/devel
Include database param if provided and valid in django_admin commands
2013-09-25 14:58:29 -07:00
James Cammarata
b41ea366c8 Doc fix in htpasswd module due to colon on the line 2013-09-25 14:46:16 -05:00
James Cammarata
786a765063 Merge branch 'add-scheme-to-htpasswd-params' of https://github.com/PugglePay/ansible into PugglePay-add-scheme-to-htpasswd-params 2013-09-25 14:39:14 -05:00
egghead
255d2d6770 supervisorctl module: fixing typo in error handling 2013-09-24 15:36:16 +00:00
Jake Kreider
bd446ef777 Include database param if provided and valid in django_admin commands 2013-09-24 10:05:45 -05:00
egghead
3f4dc876fc supervisorctl module: adding support for custom supervisord installations
Supervisord can be installed at the user level or system level.
Installating as a user is particularly useful for systems without root access.

Adds the ability to provide a custom supervisorctl executable path, supporting custom installations
2013-09-21 18:13:33 +00:00
Lorin Hochstein
d4326d8196 htpasswd docs: add notes about depending on python-passlib 2013-09-18 21:43:13 -04:00
Jell
a47f2674a4 Add crypt scheme to htpasswd params 2013-09-05 12:05:01 +02:00
danxshap
4db4607ee5 use home path expansion for virtualenv param in django_manage module 2013-08-11 14:02:13 -07:00
didiercrunch
15160f2d93 Update supervisorctl
Fixed the example.
2013-08-06 09:06:28 -04:00
Michael DeHaan
508c1d8256 Update htpasswd module for various API incompatibilities 2013-07-20 18:22:58 -04:00
Michael DeHaan
e1167d6977 tweak indentation for 'make pep8' 2013-07-20 12:48:11 -04:00
Michael DeHaan
85731a374e Document when options were added on this module. 2013-07-20 12:25:13 -04:00
Michael DeHaan
16314b2ec9 Merge pull request #3442 from neomantra/supervisorctl
supervisorctl: add command-line options as module parameters
2013-07-20 09:23:46 -07:00
Andrew Todd
e477d993dd Changed shebangs that use /usr/bin/env to use /usr/bin/python and therefore be compatible with the ansible_python_interpreter variable. 2013-07-17 16:37:04 -04:00
Evan Wies
f5c81f79de supervisor_ctl: rename to server_url and improve documentation 2013-07-12 11:53:26 -04:00
Evan Wies
cbeb6a63e5 supervisorctl: add command-line options as module parameters
Adds more parameters which may be passed to supervisorctl:  config,
serverurl, username, password

Also refactored the various `module.run_command(build_a_string)` calls
into a single `run_supervisorctl` function.
2013-07-04 12:23:16 -04:00
Michael DeHaan
39834d854c Styling: trailing spaces 2013-06-30 18:52:57 -04:00
Lorin Hochstein
f69f364b90 Add GPL header and copyright 2013-06-24 21:18:05 -04:00
Lorin Hochstein
06d92f1103 Add htpasswd module
Add a new module for managing entries in an htpasswd file, used
for basic authentication with web servers such as Apache and Nginx
2013-06-24 16:24:55 -04:00
Lorin Hochstein
1ef1b03bf6 django_manage: Pass --noinput to migrate
The django 'migrate' command should receive the --noinput command,
otherwise it can block waiting for user input.
2013-06-18 23:05:40 -04:00
Jochen Maes
7b763dc487 adds 2 django commands (migrate, collectstatic)
Signed-off-by: Jochen Maes <jochen@sejo-it.be>
2013-06-16 23:15:43 -04:00
Michael DeHaan
78fdedd490 Merge remote branch 'origin' into devel
Conflicts:
	library/web_infrastructure/django_manage
2013-06-16 22:15:30 -04:00
Jan-Piet Mens
5c69918d53 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Lorin Hochstein
d2ea9d85d0 Fix broken link in django_manage doc 2013-06-13 14:01:32 -04:00
Michael DeHaan
956bff2f07 Standardize docs 2013-06-01 18:36:44 -04:00
Michael DeHaan
391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00