1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

64 commits

Author SHA1 Message Date
Joel Crocker
3f7934cc04 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
c24956032d unified calls to fs function vs duplicate functions for file and
directory
2014-05-24 09:28:45 -04:00
Michael Warkentin
c8eb47eefa 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
67a8ee24e1 made enabled/disabled checks of apache2_module workable 2014-04-28 19:46:34 +02:00
Joel Schuweiler
7916545979 Fix example 2014-04-27 12:16:51 -05:00
James Tanner
66747529a6 Fix version_added for a few parameters in django_manage 2014-04-07 22:57:49 -04:00
Michael DeHaan
2d116aca5e Add version_added info + changelog 2014-03-28 17:11:21 -04:00
Christian Berendt
9a1c1d3242 use module.get_bin_path() for a2enmod 2014-03-28 17:10:15 -04:00
Christian Berendt
b8a8e9fbec removed duplicated <<INCLUDE_ANSIBLE_MODULE_COMMON>> line 2014-03-28 17:10:15 -04:00
Christian Berendt
c958c301ae 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
78e5f6129f Documentation updates for supervisor module changes. 2014-03-28 13:07:13 -04:00
Michael DeHaan
b915390ec8 Merge branch 'supervisorctl-support-group' of git://github.com/inetfuture/ansible into devel 2014-03-28 13:04:21 -04:00
Steve Smith
9a8a8dfb2a 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
c1af272ba1 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 23:04:19 -05:00
James Tanner
ba0fec4f42 Force command action to not be executed by the shell unless specifically enabled 2014-03-10 16:13:30 -05:00
ToBeReplaced
23d4ecc2a5 Add comment about mod_admin_extra
Fixes issue #6027.
2014-03-04 09:19:44 -05:00
Richard C Isaacson
292d84165e Clean up stray space at the end of a line after a period. 2014-02-03 11:52:37 -06:00
mxxcon
ffac1b5c7f Updated docs to have choices for crypt_scheme 2014-01-30 01:05:05 -05:00
inetfuture(Aaron Wang)
fbd3902652 supervisorctl: add group support and refine documenation. 2014-01-08 15:09:36 +08:00
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.
2013-12-17 14:45:42 -05: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