Commit graph

1446 commits

Author SHA1 Message Date
Seth Vidal
9355f6e545 clean up how it puts the files in place - in f18 /tmp is tmpfs which
means ln and os.rename() won't work across fs.
2013-04-16 15:08:27 -04:00
Michael DeHaan
7238fcb522 Merge pull request #2676 from b6d/postgresql_privs-module-proposal2
Proposal for a module to manage PostgreSQL privileges (2)
2013-04-13 18:51:03 -07:00
Bernhard Weitzhofer
3ac03e0cc1 Add module postgresql_privs
This Module allows to manage privileges on PostgreSQL database objects
(currently: tables, sequences, functions, databases, schemas, languages and
tablespaces) as well as group role memberships.

It is basically a wrapper around most of the functionality of PostgreSQL's
GRANT and REVOKE statements with additional detection of changes and support
for dry-runs (check-mode).

postgresql_privs should work with PostgreSQL 8.4 and above. Python Module
psycopg2 is required on the remote host.
2013-04-13 22:56:18 +02:00
Bernhard Weitzhofer
7d3af457b5 user module: return public SSH key
Return public SSH key if the user module is called with generate_ssh_key=yes.
Since "user" doesn't overwrite files, this also allows querying of existing
public keys.

Used in playbooks together with the "register" keyword, the returned key can be
passed to the "authorized_key" module allowing easy setup of SSH public key
authentication between remote hosts.
2013-04-13 16:10:58 +02:00
Michael DeHaan
f07ac2be6e Merge pull request #2605 from b6d/postgresql_user-quote-pwd
Use psycopg2's string handling to escape password string
2013-04-12 20:44:32 -07:00
James Martin
bf59b63cc2 Errors in documentation. 2013-04-12 22:26:18 -04:00
James Martin
c6b787cc42 Added catch-all exception for stats collection. 2013-04-12 20:28:39 -04:00
Michael DeHaan
ccb5bd3ecf Create the .ssh dir if it does not already exist. 2013-04-12 14:46:41 -04:00
Michael DeHaan
ce26095967 Merge pull request #2646 from sevein/git-shallow-clone
Add support for shallow clones in the git module
2013-04-11 13:09:42 -07:00
Michael DeHaan
d891142600 Merge pull request #2627 from jsmartin/riak
Adds a riak module
2013-04-11 11:14:32 -07:00
Michael DeHaan
b345718fdf Merge pull request #2628 from victorcoder/devel
Typo in docs
2013-04-11 09:57:38 -07:00
Jesús García Crespo
34a47c0e6c Add --depth support in the git module 2013-04-11 09:40:15 -07:00
Michael DeHaan
c94ce66de7 Style fixes so "make pep8" is clean. 2013-04-10 16:37:49 -04:00
Victor Castell
5d8055f970 Typo in docs 2013-04-09 20:47:39 +02:00
James Martin
2b4ca78059 initial commit. 2013-04-09 11:53:03 -04:00
Victor Castell
d5fdfe6c79 Enable virt module to work with different libvirt connection uris. This allow to work with all libvirt supported VMs. 2013-04-08 22:14:37 +02:00
Gareth Rees
c0d39fbde1 Add separate step update_cache example 2013-04-08 18:20:23 +02:00
Bernhard Weitzhofer
95f1cf0adf Use psycopg2's string handling to escape password string
This allows the password to contain single quotes and should make it safe to
use randomly generated passwords (provided passwords can be represented in the
connection encoding).
2013-04-08 08:38:35 +02:00
Michael DeHaan
74c85c1929 Fixup authorized key doc formatting 2013-04-05 15:33:21 -04:00
Michael DeHaan
18e86ea1ff Fixup ec2 doc formatting and use complex args format to break up long lines. 2013-04-05 15:30:36 -04:00
Michael DeHaan
dfa88a6da9 Add version added info for s3 module. 2013-04-05 15:18:31 -04:00
Michael DeHaan
e0e6e5e8cb Merge pull request #2554 from magnusart/s3-overwrite-param
New try: s3 overwrite and checksum support
2013-04-05 12:12:37 -07:00
Michael DeHaan
88ed010984 Merge pull request #2550 from joelsemar/devel
adds private_ip param to ec2 module
2013-04-05 12:12:06 -07:00
Michael DeHaan
803ec6cf02 Fixup module docs. 2013-04-05 14:51:08 -04:00
Michael DeHaan
92f00a726f Merge branch 'devel' of git://github.com/gregswift/ansible into devel 2013-04-05 14:50:35 -04:00
Michael DeHaan
659d5a46e6 Merge pull request #2446 from b6d/postgresql_db-module-extension
postgresql_db: add args lc_collate, lc_ctype
2013-04-05 11:14:06 -07:00
Michael DeHaan
087859a0d0 Merge pull request #2559 from mavimo/feature/documentation-vagrant
vagrant module documentation
2013-04-05 10:51:37 -07:00
Michael DeHaan
81caa25c19 Merge pull request #2558 from jochu/mysql-password
mysql_db: use --password= instead of -p in dump/import
2013-04-05 10:50:35 -07:00
Michael DeHaan
8115c91746 Merge pull request #2552 from lwade/ec2docs
Updated and improved the documentation (examples)
2013-04-05 10:43:29 -07:00
Michael DeHaan
d8d5c20883 Merge pull request #2571 from Tinche/service
Service module changed to terminate early if only enabled specified
2013-04-05 10:41:33 -07:00
Michael DeHaan
28f8a00099 Merge pull request #2542 from chrishoffman/npm
Adding npm module
2013-04-05 10:25:02 -07:00
Michael DeHaan
bda518e2c7 Merge pull request #2537 from j2sol/rax
Provide functionality to work with Rackspace's public cloud
2013-04-05 10:20:49 -07:00
tin
7849f31e4c Additional example in service documentation. 2013-04-04 21:03:15 +02:00
tin
d7dc4594eb Changed the service module to terminate early if only changing the enabled state.
Expanded the documentation slightly.
2013-04-04 21:00:47 +02:00
Chris Hoffman
e21dac337a Updating version added, tweaking instantiation 2013-04-04 14:59:57 -04:00
Michael DeHaan
67c0139316 Merge pull request #2563 from gw0/fix-lineinfile
Improved backrefs example in lineinfile.
2013-04-04 06:45:07 -07:00
Michael DeHaan
a27c12514a Fix typo in message. 2013-04-04 08:31:26 -04:00
gw0 [http://gw.tnode.com/]
5f473ef3c1 Improved backrefs example in lineinfile. 2013-04-04 05:19:39 +02:00
mavimo
f818c0aac6 Moved choises in the right place 2013-04-03 21:29:57 +02:00
mavimo
30b2a0f407 moved dependencies in the right place 2013-04-03 21:29:05 +02:00
Jeffrey Chu
0f4bded9d5 mysql_db: use --password= instead of -p in dump/import 2013-04-03 09:58:58 -07:00
Magnus Andersson
4b0a144f44 Added functionality for md5 checksum together with a new overwrite param
to indicate that remote file should be overwritten if a file with the
same filename exists.
2013-04-02 19:19:11 +02:00
lwade
0d059d8b51 Updated and improved the documentation (examples) 2013-04-02 11:44:59 +01:00
Joel Semar
c422686404 adds private_ip param to ec2 module 2013-04-02 00:31:31 -05:00
James Martin
f9a15486e3 Typo in documentation. 2013-04-01 15:15:40 -04:00
Bernhard Weitzhofer
4efe71a1da postgresql_user: fix docstrings
Change documentation of "state" param to refer to user (role) state instead of
database state.

Change 2 function docstrings to reflect the code
2013-04-01 13:56:37 +02:00
Chris Hoffman
23119431eb Adding npm module 2013-03-31 23:35:39 -04:00
Lorin Hochstein
3eb859a01c upgrade should obey check mode 2013-03-31 21:48:08 -04:00
Lorin Hochstein
75a9687a2a Use aptitude safe-upgrade for apt upgrade=yes
Use aptitude safe-upgrade instead of apt-get upgrade to implement
apt: upgrade=yes. Using aptitude ensures that missing dependencies
will also be installed.

Fixes #2540
2013-03-31 21:41:58 -04:00
Michael DeHaan
9d8fc0c4ff Merge pull request #2530 from mavimo/patch-1
Vagrant module - fixed version_added
2013-03-31 07:43:23 -07:00