Commit graph

1515 commits

Author SHA1 Message Date
Michael DeHaan
e85276ab31 Merge pull request #2596 from blair/ec2_facts-provides-ec2-region
ec2_facts: add ansible_ec2_placement_region key/value pair for EC2 regio...
2013-04-16 17:28:13 -07:00
Michael DeHaan
1d9b847267 Merge pull request #2608 from lwade/ec2zone
Add availability zone parameter
2013-04-16 17:20:55 -07:00
Michael DeHaan
13d4676639 Use platform.node() for the hostname, leave fqdn calculated the same way 2013-04-16 20:10:21 -04:00
Michael DeHaan
88972c996a Add version added to module docs 2013-04-16 20:07:18 -04:00
Michael DeHaan
55828d14da Merge pull request #2580 from blair/ec2_vol-improvements
Ec2 vol improvements
2013-04-16 16:58:54 -07:00
Michael DeHaan
133edecd11 Merge pull request #2692 from j2sol/rax
Minor fixes to the rax module
2013-04-16 16:52:43 -07:00
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
Jesse Keating
5724be2ba8 Only accept supported services for rax module
Even though others are possible, fail early on unsupported ones.
2013-04-15 17:22:42 -07:00
Jesse Keating
4c0f37afe3 Update documentation for rax module
Only list the services supported
Don't put in unncessary required: false
Use better formatting for the example
2013-04-15 17:20:45 -07: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
Blair Zajac
234b0ad2a2 ec2_facts: add ansible_ec2_placement_region key/value pair for EC2 region. 2013-04-12 09:04:12 -07:00
Serge van Ginderachter
3a654d4497 package and upgrade are not mutually exclusive, but when both were set, upgrade didn't happen 2013-04-11 23:58:15 +02:00
Serge van Ginderachter
e1ea9b7f87 add default=yes in upgrade argument spec 2013-04-11 23:43:35 +02:00
Serge van Ginderachter
04547eb064 apt module: part rewrite of the upgrade logic, consistently checking
the executable paths, adding 'safe' as an alias to yes, and adding
'full' to allow aptitude full-upgrade as an alternative to apt-get
dist-upgrade
2013-04-11 23:03:47 +02: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
Serge van Ginderachter
ba55f8ed01 When saving to dest, check if we get redirected, and use the new
location header to set the dest file name if we only provided a
target dir. Only save if dest not modified.
2013-04-10 02:03:53 +02: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
milan
8347bf03ed allow URL spec for install 2013-04-08 11:54:27 +02:00
lwade
e2db86255a Add availability zone parameter 2013-04-08 10:42:34 +01: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
Brian Coca
a17091ba96 Added 'validate' feature to copy and template modules, now you can add a check to force copy to fail if the check fails.
had to add entry in file for it to accept as a option even though file itself ignores it.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-04-06 11:52:18 -04:00
Blair Zajac
91b7d4b069 ec2_vol: do no work if the instance has a volume mounted at the device. 2013-04-05 19:17:19 -07:00
Blair Zajac
a16ba7fbb8 ec2_vol: update docs to match default device_name values for Unix/Windows. 2013-04-05 19:17:12 -07: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