Commit Graph

45 Commits (8fbf049e754237e971ae2593d01bad3788375500)

Author SHA1 Message Date
Roger López a3dcac0a0f 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 ad837709bd Addresses #5023 Fix import comments 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Steven Davidson f5d9679abc Reports changed status from django_manage migrate 11 years ago
James Cammarata bfb1d469e6 Checking for a transitional running state in supervisorctl
Fixes #3977
11 years ago
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.
11 years ago
jctanner d14d20327a Merge pull request #4510 from jhoekx/jboss-module
Add jboss module
11 years ago
James Tanner 2fd56efb9e Fix typo in ejabberd_user module docstrings 11 years ago
jctanner 558d0b322a Merge pull request #4329 from privateip/devel
ejabberd_user module for managing users in ejabberd
11 years ago
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
11 years ago
Jeroen Hoekx c16f4f0d91 Add jboss module to manage deployments to JBoss. 11 years ago
Thomas Omans 1dbdd9d6d1 supervisorctl: user expansion on config filepath 11 years ago
Michael DeHaan 119b6d73dd Remove examples of module antipattern of setting the choices array for boolean types. 11 years ago
Javier Candeira f8255b538e fix django_manage migrate command 11 years ago
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.
11 years ago
Michael DeHaan 42eeac5aba htpasswd documentation formatting fix 11 years ago
jctanner 351c4d749e Merge pull request #4163 from lorin/htpasswd-doc
htpasswd docs: add notes about depending on python-passlib
11 years ago
Peter Sprygada 7821b24144 initial ejabberd_user module 11 years ago
James Cammarata 2ed803837e Merge pull request #4228 from mragh/devel
Include database param if provided and valid in django_admin commands
11 years ago
James Cammarata b41ea366c8 Doc fix in htpasswd module due to colon on the line 11 years ago
James Cammarata 786a765063 Merge branch 'add-scheme-to-htpasswd-params' of https://github.com/PugglePay/ansible into PugglePay-add-scheme-to-htpasswd-params 11 years ago
egghead 255d2d6770 supervisorctl module: fixing typo in error handling 11 years ago
Jake Kreider bd446ef777 Include database param if provided and valid in django_admin commands 11 years ago
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
11 years ago
Lorin Hochstein d4326d8196 htpasswd docs: add notes about depending on python-passlib 11 years ago
Jell a47f2674a4 Add crypt scheme to htpasswd params 11 years ago
danxshap 4db4607ee5 use home path expansion for virtualenv param in django_manage module 11 years ago
didiercrunch 15160f2d93 Update supervisorctl
Fixed the example.
11 years ago
Michael DeHaan 508c1d8256 Update htpasswd module for various API incompatibilities 11 years ago
Michael DeHaan e1167d6977 tweak indentation for 'make pep8' 11 years ago
Michael DeHaan 85731a374e Document when options were added on this module. 11 years ago
Michael DeHaan 16314b2ec9 Merge pull request #3442 from neomantra/supervisorctl
supervisorctl: add command-line options as module parameters
11 years ago
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. 11 years ago
Evan Wies f5c81f79de supervisor_ctl: rename to server_url and improve documentation 11 years ago
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.
12 years ago
Michael DeHaan 39834d854c Styling: trailing spaces 12 years ago
Lorin Hochstein f69f364b90 Add GPL header and copyright 12 years ago
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
12 years ago
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.
12 years ago
Jochen Maes 7b763dc487 adds 2 django commands (migrate, collectstatic)
Signed-off-by: Jochen Maes <jochen@sejo-it.be>
12 years ago
Michael DeHaan 78fdedd490 Merge remote branch 'origin' into devel
Conflicts:
	library/web_infrastructure/django_manage
12 years ago
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
12 years ago
Lorin Hochstein d2ea9d85d0 Fix broken link in django_manage doc 12 years ago
Michael DeHaan 956bff2f07 Standardize docs 12 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago