Commit Graph

23 Commits (4b01169584f488c8615af4c144f17de5b332154b)

Author SHA1 Message Date
Michael DeHaan 6a7d30d2c2 Remove some tab/space issues in previous commits. 12 years ago
Rodney Quillo 4e8f72a158 Add postgresql_db and postgresql_use checkmode. 12 years ago
Félix Sipma 77753eb897 add encoding documentation in postgresql_db 12 years ago
Félix Sipma 2bb74e5f29 add documentation for "template" parameter in postgresql_db 12 years ago
Félix Sipma cc4be53dd4 use double-quotes in postgresql commands (fix bug with "-") 12 years ago
Jan-Piet Mens d184f72aa9 DOCUMENTATION strings 12 years ago
Michael DeHaan 6f6559670f chmod -x for all module files in source checkout 12 years ago
Michael DeHaan 8d3f73d562 pep8 fixes 12 years ago
Jan-Piet Mens d069c57974 Reformat code: examples consistently
- added terse syntax to modules.rst
 - added description of special variables to template module
12 years ago
Jan-Piet Mens c78a0a4a49 Jumbo DOCUMENTATION patch 12 years ago
Marco Vito Moscaritolo 0a263aea56 Added DOCUMENTATION to postgresql_db module. 12 years ago
Piotr Kweclich 41fde07e98 added support for custom port definition 12 years ago
Pepe Barbe 3c239430e4 bugfix in sql query 12 years ago
Pepe Barbe 4a9a6c81ac Check for database ownership 12 years ago
Pepe Barbe db957df5af Autocommit support for psycopg2 < 2.4.2 12 years ago
Pepe Barbe dfce4a20a1 Fix using postgres default values
When initalizing a connection to psycopg2, in order to use the default
values, the keywords must be missing. So we use a dictionary as a kwarg
and include only the keywords that do not have an empty value on the
module parameters.
12 years ago
Pepe Barbe e33973e8ca Use Python 2.4 compatible syntax 12 years ago
Michael DeHaan baacde6c74 Add encoding lines to python modules such that they can take unicode options if they are fed them, since the
AnsibleModule stuff no longer base64 encodes for simplicity and speed reasons.
13 years ago
Michael DeHaan fe9a05f492 Module consistency and make daisy chaining work with invalid arguments detection. 13 years ago
Petros Moisiadis 6767accc2d added extra arguments for database creation
mysql_db: added 'encoding' and 'collation' args
postgresql_db: added 'owner', 'template' and 'encoding' args
13 years ago
Michael DeHaan 4782bc1949 Port the file module over to the new common code infrastructure + cleanup some redundant imports since the module code already imports those things. 13 years ago
Lorin Hochstein ac02b85aad Use standard argument names in PostgreSQL modules
passwd -> password
loginpass -> login_password
loginuser -> login_user
loginhost -> login_host

Add an example playbook that shows how to use the modules.
13 years ago
Lorin Hochstein ed9227f406 Add postgresql_db and postgresql_user module.
These modules are based on the mysql_db and mysql_user modules.

Currently, the postgresql_user module can only grant all permissions
on a database, fine-grained access has not been implemented yet.
13 years ago