Commit graph

1732 commits

Author SHA1 Message Date
Michael DeHaan
7e6e7ebab8 Merge pull request #2747 from lwade/ec2_vol_region
Add region support to ec2 volume module.
2013-04-22 19:04:31 -07:00
Lester Wade
7bbccddc62 Add region support to ec2 volume module. 2013-04-22 17:27:57 -07:00
Michael DeHaan
e8927edd5f Merge pull request #2746 from lwade/ec2region
Add region parameter and changed connection code.
2013-04-22 16:30:25 -07:00
Lester Wade
44bdff8ead Add region parameter and changed connection code. 2013-04-22 16:23:30 -07:00
Jim Kleckner
8097a77d2e Nit fix spelling of separate 2013-04-21 12:33:51 -07:00
Alex Tomkins
c2cd9821c1 sysctl check fails if a custom sysctl_file is given. 2013-04-21 15:28:56 +01:00
Michael DeHaan
b72dedc36e Since using platform.node, be sure to just return the hostname component. 2013-04-20 09:34:37 -04:00
Michael DeHaan
f5e43d6a9a Merge commit '53ac0bb' into devel 2013-04-20 09:13:10 -04:00
Michael DeHaan
5055bdf9cc Fixup authorized key documentation formatting 2013-04-20 09:10:19 -04:00
Michael DeHaan
e67a8852e9 Showcase the new-style lookup plugin access in the authorized_key docs rather than the old-style $FILE 2013-04-20 09:10:19 -04:00
jtsoi
778cb826d7 Typo in example, extra space breaks playbook. 2013-04-19 22:43:50 +03:00
Michael DeHaan
1a18b7fd22 Fixup authorized key documentation formatting 2013-04-18 22:43:14 -04:00
Michael DeHaan
afdad457ec Showcase the new-style lookup plugin access in the authorized_key docs rather than the old-style $FILE 2013-04-18 22:38:48 -04:00
Nathan L. Walls
14415fd6c7 Small spelling correction to authorized_key module docs 2013-04-18 22:16:28 -04:00
Dag Wieers
6d31a7cdbf New module 'set_fact' to define host facts
This module allows you to set host facts (or export play variables to the playbook scope if you fancy that).

The module also accepts complex arguments.

```yaml
 - action: set_fact fact="something" global_fact="${local_var}"'
 - action: set_fact
   args:
      fact: something
      global_fact: ${local_var}
```
2013-04-18 23:06:58 +02:00
lwade
3626775b85 correct reference to module 2013-04-18 10:36:07 +01:00
Darren Worrall
6bba361e7c Add define command to virt module 2013-04-17 16:46:09 +01:00
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