Commit graph

3564 commits

Author SHA1 Message Date
Paul Beattie
31f81c3a1b Fixed typo in example documentation 2014-01-04 00:22:14 +00:00
James Tanner
f723311601 Resolves issues with newer versions of pip not having a --use-mirrors paramater for the install command 2014-01-03 15:29:18 -05:00
Aleksey Ovcharenko
d8b160d385 Downgraded module version_added. 2014-01-03 17:22:10 +02:00
rgbj
fa5a448983 On OpenBSD, make user module status 'changed' only if necessary when using 'login_class' parameter 2014-01-03 15:41:12 +01:00
Dag Høidahl
bec49768d1 Use "brew list <name>" instead of grepping the output of "brew list".
Some brew packages are not listed with their package name, e.g. libjpeg.
2014-01-03 15:15:20 +01:00
jctanner
6f16ea6d49 Merge pull request #5167 from jaspernbrouwer/devel
service_module: Fixed false positive on initctl as enable_cmd
2014-01-02 20:24:00 -08:00
Michael DeHaan
a11e5d609e Basic docsite formatting fixups 2014-01-02 17:36:52 -05:00
James Tanner
e2c7aeca4c Fixes #5040 setup module: do not add primary interface info to the secondary interface data 2014-01-02 16:17:24 -05:00
Jim Kleckner
8ba9019797 Add quotes to password argument for dump/import
The password is passed on a command line for dump and import and needs
quoting.

Ideally, this would not be passed on a command line at all - any ideas?
Or at least have a stronger form of quoting so that embedded single
quotes will be escaped.
2014-01-02 12:04:03 -08:00
Rutger Spiertz
a471f6c993 apt_repository: don't crash if default_file doesn't exist 2014-01-02 15:41:24 +01:00
Jinn Koriech
57dc4fbea2 postgresql_user module: Gracefully handle ALTER ROLE on read-only postgres servers. 2013-12-31 18:23:45 +00:00
Michael DeHaan
50c600c361 Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog 2013-12-30 20:21:15 -05:00
Michael DeHaan
0a3293cf53 add a note about raw/endraw 2013-12-27 15:01:27 -05:00
Jim Kleckner
2903c7b568 Fix documentation example for the fail module
The example for the fail module doesn't work:
  http://www.ansibleworks.com/docs/modules.html#fail

The current text shows:
    - fail: msg="The system may not be provisioned according to the CMDB status."
      when: "{{ cmdb_status }} != 'to-be-staged'"

The "when" documentation indicates that the argument is already a Jinja2
expression:
  http://www.ansibleworks.com/docs/playbooks_conditionals.html#the-when-statement

Thus, the following is
      when: cmdb_status != "to-be-staged"

is preferred even though the following could work but generates a
deprecation warning:
      when: {{cmdb_status != "to-be-staged"}}
2013-12-26 16:32:32 -08:00
Jim Kleckner
59396d38e2 Fix mysql_db dump and import to use port argument
The code for mysql_db did not pass the port argument when state=dump or
state=import.
2013-12-26 16:21:16 -08:00
Mikhail Sobolev
ecf78e8c93 fix short/full description for elasticache 2013-12-26 14:35:57 -05:00
Michael DeHaan
33ff67ea24 Use task names in examples. 2013-12-26 13:46:09 -05:00
Michael DeHaan
565f477582 Merge branch 'devel' of git://github.com/beefsalad/ansible into devel 2013-12-26 13:41:42 -05:00
Michael DeHaan
0ad0f795f3 Merge pull request #5427 from bcoca/template_docs2
added more usefull example for jinja2 overrides
2013-12-26 10:30:44 -08:00
beefsalad
a1db3d89de added descriptions for yum options
Updated main description to state that the yum module will handle package groups.  Added descriptions for each example, as it is unclear to (some) users that @Name implies a group install.
2013-12-26 12:25:52 -06:00
Brian Coca
9affb6ed37 added more usefull example for jinja2 overrides (this one is actually
used)

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-26 12:01:41 -05:00
lichesser
bab510f0c5 Partial fix for #4565. Works only for Debian 7 and later 2013-12-26 17:53:17 +01:00
Maykel Moya
8f766bdcdd Missing "is" in file module description 2013-12-26 12:34:46 +01:00
Michael DeHaan
a1c02dda12 Merge pull request #5419 from stoned/shell-module-doc-fix
shell module: document removes option and sync with command module doc
2013-12-25 10:52:46 -08:00
Michael DeHaan
3fd2e55619 User report of DO not taking underscores so tweaking docs 2013-12-25 13:51:56 -05:00
Michael DeHaan
05c755f2dc Fix a documentation item. 2013-12-25 13:50:15 -05:00
Stoned Elipot
0955744b3a shell module: document removes option and sync with command module doc 2013-12-25 12:12:11 +01:00
Will Thames
5d41934873 rds module: add snapshot capabilities
Add the ability to create snapshots and restore from them
Make instance creation, deletion, restore, and snapshotting idempotent
(really helps testing a playbook if you can run it multiple times)
2013-12-24 20:32:49 +10:00
David Hummel
1f0c230d32 Check for group_name and cidr_ip. 2013-12-23 15:57:47 -05:00
Brian Coca
45872dfee7 making pylint happier
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 14:09:15 -05:00
Brian Coca
ebba754ee6 corrected my grammar (again Mikhail)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 13:48:53 -05:00
Brian Coca
72eba69175 did some minor refactoring on docs and fixed spelling mistakes (thanks
Mikhail)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-23 13:35:27 -05:00
Jasper N. Brouwer
9dab01c5e2 Swapped conditions of the changed if statements 2013-12-23 09:54:16 +01:00
Janitha Karunaratne
9845376232 Fixes #5381 easy_install bug when used with virtualenv 2013-12-20 16:44:18 -06:00
David Hummel
6a70f614f8 Add rule group_name parameter whose value can reference containing group name. 2013-12-20 16:06:55 -05:00
Brian Coca
ce72f27787 corrected indentation and now handles non existing previous key (not
just changed existing)

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-20 12:50:06 -05:00
Brian Coca
bdd6eaa62a now handles default and allaows for either shorthand entry or specific
fields per entry section

the default option works both when added to entry or as stand alone.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 20:36:49 -05:00
Brian Coca
3587053119 and it was supposed to be a dict
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 17:22:05 -05:00
Brian Coca
564bd29eeb fixed typo for showing diff
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 17:21:00 -05:00
Brian Coca
0c2ec0d9d1 debconf package
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-12-19 16:54:02 -05:00
Peter Salvatore
4c168abccc fix typo in synchronize module 2013-12-18 13:06:35 -08:00
Michael Vermaes
af0f0923ca Attempt #2 to cause yum to fail on invalid url 2013-12-19 00:40:44 +08:00
Michael DeHaan
88ebec7908 Merge pull request #5162 from JensRantil/fix-corrupt-module-outputs
More don't catch `SystemExit`
2013-12-18 05:13:34 -08:00
willthames
10c06d4e1e Make state=present the default for ec2_tag
Using `ec2_tag` module without the state argument
currently results in:
```
failed: [127.0.0.1] => {"failed": true, "parsed": false}
```
This fix makes `state=present` the default
2013-12-18 13:40:41 +10:00
jctanner
5bfbd57869 Merge pull request #5303 from mohangk/rds_postgres
Adds postgres support for Ansible RDS module
2013-12-17 14:56:21 -08:00
Serge van Ginderachter
65272f2e5c bigip_monitor_http: two small bug fixes
- extra properties were not set at creation, only when updating
  which can be overlooked when running the module from more than 1 node...
- fix bas var as time_until_up didn't get used
2013-12-17 23:08:06 +01:00
jctanner
19a59f5c4c Merge pull request #5289 from rstrox/devel
rax: import novaclient.exceptions for cs.images.find
2013-12-17 14:04:05 -08:00
jctanner
36d5d19937 Merge pull request #5203 from sivel/irc-rfc-loops
Improve IRC module. Fixes #5186
2013-12-17 11:46:17 -08:00
Roger López
5e77eb70e4 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
Brad P. Crochet
fd6fff9d8d Specify internal_network_name
This allow one to specify a specific internal network name for the case
where there is more than one nic on an instance. Without this, the list
of ports may not return the correct order. Therefore, it is necessary
to specify the exact internal network to attach the floating ip to
2013-12-17 14:24:30 -05:00