1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

4515 commits

Author SHA1 Message Date
Jesse Keating
c47fd199bd Initial commit of rax inventory plugin
The rax inventory plugin provides a way to discovery inventory in the
Rackspace Public Cloud by way of pyrax, the official SDK. Grouping will
be done if a group:name is found in the instance metadata. When a single
host is queried all the instance details are returned with a rax_
prefix.

Because inventory plugins cannot take extra arguments, ENV variables
must be set to point to the pyrax compatible credentials file and the
region to query against.
2013-03-30 23:04:07 -07:00
Jesse Keating
9027a9b021 Initial commit of rax library
This library provides functionality for the Rackspace Public Cloud by
way of the official pyrax SDK (https://github.com/rackspace/pyrax). At
this time only the cloudservers service is functional. Instances can be
created or deleted. Idempotency is provided on matching instances with
the same name, flavor, image, and metadata values within a given
region.

pyrax usage does require a credentials file written out to hold username
and API key.  See pyrax documentation for details
(https://github.com/rackspace/pyrax/blob/master/docs/pyrax_doc.md)
2013-03-30 23:04:07 -07:00
Michael DeHaan
36bcfb5d49 Merge branch 'lineinfile' of git://github.com/Tinche/ansible into lif 2013-03-29 21:39:57 -04:00
Michael DeHaan
f9890c9973 Show other way to ignore command/shell errors 2013-03-29 21:38:33 -04:00
Michael DeHaan
bccab0f2b7 Merge pull request #2514 from raphinou/patch-1
replaced && by ||
2013-03-29 18:36:53 -07:00
Michael DeHaan
d994c9fd90 Merge pull request #2527 from mavimo/patch-1
Docs generator: fixed option (type) validation error
2013-03-29 18:36:15 -07:00
Marco Vito Moscaritolo
a53259a797 Fixed option validation error
Fixed error on validation that block javascript documentation generation.
2013-03-29 16:30:33 +01:00
Michael DeHaan
befad8f71f Merge pull request #2442 from lwade/vol_os_detection
add better OS detection for BDM
2013-03-29 05:48:05 -07:00
Michael DeHaan
cdf5e006ff Merge pull request #2508 from tgerla/devel
Add some examples for local_action and rsync
2013-03-29 05:46:40 -07:00
Michael DeHaan
50bd8a82fa Merge pull request #2507 from inittab/devel
Install example config file under /etc/ansible
2013-03-29 05:46:09 -07:00
Michael DeHaan
1015d3b043 Merge pull request #2522 from abulimov/lvg-module-doc
fixed and extended documentation for lvg module
2013-03-29 05:44:01 -07:00
Michael DeHaan
853d4f43cb Merge pull request #2524 from victorcoder/devel
Place ad-hoc stuff from docs under context
2013-03-29 05:43:35 -07:00
Victor Castell
ceede2f71f Place ad-hoc stuff from docs under context 2013-03-28 16:39:06 +01:00
Alexander Bulimov
0fee59dc86 fixed and extended documentation for lvg module 2013-03-28 13:55:01 +04:00
raphinou
ba2582fff6 replaced && by ||
In the example, you want /bin/true to be executed if the first command has an error return code. Combining command with && will run the second only if the first is successful. Combining them with ||, the second will be run only of the first fails, what is wanted here.
2013-03-27 14:37:31 +01:00
Tim Gerla
d3a7c729ab Add a note regarding rsync and ssh-agent/passphrase-less keys 2013-03-26 19:37:06 -07:00
Michael DeHaan
4552fa8592 Merge pull request #2511 from bcoca/user_checkmode_fix
user module check mode bug fix
2013-03-26 19:31:02 -07:00
Brian Coca
5ad3c0603d now check moded returnes 'changed' instead of failure when there are
modifications needed.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-26 22:04:04 -04:00
tin
ca581840ef Added additional lineinfile documentation.
A little more unit testing.
2013-03-27 01:31:58 +01:00
tin
f9b70822d2 Fixed to the lineinfile module.
Added the backrefs parameter to the lineinfile module.
Added tests for the backrefs functionality of the lineinfile module.
2013-03-27 01:31:58 +01:00
Michael DeHaan
868af1a892 Merge pull request #2505 from johanwiren/obsdpkg_docs
Fixed webdocs rendering error
2013-03-26 16:31:38 -07:00
Tim Gerla
0e01085ab6 Add some examples for local_action and rsync 2013-03-26 13:34:16 -07:00
Alberto Gonzalez Iniesta
40451b8f68 Install example config file under /etc/ansible 2013-03-26 20:25:03 +01:00
Johan Wirén
550cf2979e Fixed webdocs rendering error 2013-03-26 18:22:15 +01:00
Michael DeHaan
9c5028eb8b Merge pull request #2501 from sergevanginderachter/devel
gitignore and clean up authors file to  since it was removed from version control
2013-03-26 05:53:28 -07:00
Michael DeHaan
7d08ad5e82 Merge pull request #2502 from b6d/gem-module-fix
"gem"-module: replace python 2.5 language feature
2013-03-26 05:53:05 -07:00
Bernhard Weitzhofer
fd6b4c2257 "gem"-module: replace python 2.5 language feature
replace conditional expression with python 2.4-compatible if/else
statements
2013-03-26 11:45:47 +01:00
Serge van Ginderachter
ec6236a107 add clean up authors file to make clean 2013-03-26 08:19:45 +01:00
Serge van Ginderachter
0aba811cf2 add authors file to gitignore since it was removed from version control 2013-03-26 08:14:07 +01:00
Michael DeHaan
b066e9c15c Remove authors file from version control (can still be built from 'make authors') 2013-03-25 23:36:53 -04:00
Michael DeHaan
42b0e51223 Upgrade callbacks further, now '.play', '.task', and so on are also available! 2013-03-25 22:56:32 -04:00
Michael DeHaan
5b845510b3 Update changelog 2013-03-25 22:48:12 -04:00
Michael DeHaan
0d11f53eff Let the callbacks see the playbook and (current) runner objects. 2013-03-25 22:47:06 -04:00
Michael DeHaan
b0a64973b6 update changelog 2013-03-25 22:40:47 -04:00
Michael DeHaan
2d8078140d Merge branch 'test_basedir' into devel 2013-03-25 22:32:45 -04:00
Michael DeHaan
84b641c96d Add state to rhn_channel docs 2013-03-25 22:32:34 -04:00
Michael DeHaan
783a12cc0e Resolve merge commit. 2013-03-25 22:32:01 -04:00
Michael DeHaan
6f2a0c60f7 Merge branch 'ansible_inventory_basedir' of git://github.com/stoned/ansible into test_basedir
Conflicts:
	lib/ansible/runner/__init__.py
2013-03-25 22:30:06 -04:00
Michael DeHaan
28570f922e Merge pull request #2498 from jcftang/devel
Fix reinplace in macports package to work on both 10.7 and 10.8
2013-03-25 19:26:19 -07:00
Michael DeHaan
774bf8abe6 Add state to rhn_channel docs 2013-03-25 22:24:30 -04:00
Michael DeHaan
3c5890f42b Ensure that when transferring a file to a directory the name of the file is the correct basename and not 'source'. 2013-03-25 22:19:35 -04:00
Michael DeHaan
7044e53e07 Allow conditionals on BYPASS_HOST_LOOP plugins like add_host 2013-03-25 21:16:18 -04:00
Jimmy Tang
2dce6089c4 Fix reinplace in macports package to work on both 10.7 and 10.8
reinplace on OSX 10.8 seems to behave differently, this change has been tested
on a few 10.8 and 10.7 machines.
2013-03-25 17:08:40 +00:00
Michael DeHaan
cd0dd2a6ad Merge pull request #2496 from lorin/mycnf-quotes
Strip quotes when parsing my.cnf
2013-03-25 08:15:58 -07:00
Michael DeHaan
fee201428f Fix RHN module YAML docs formatting 2013-03-25 11:03:38 -04:00
Michael DeHaan
861bee3e36 Quoting 2013-03-25 10:56:57 -04:00
Michael DeHaan
518007a1ba Fix version added attribute, update docs URL 2013-03-25 10:56:32 -04:00
Lorin Hochstein
c9990b801e Strip quotes when parsing my.cnf
Remove leading/trailing single or double quotes when parsing the my.cnf
file in mysql_user and mysql_db.

Do this so that these modules parse the my.cnf file the same way that
the mysql client does.

From: http://dev.mysql.com/doc/refman/5.0/en/option-files.html

    You can optionally enclose the value within single quotation marks
    or double quotation marks, which is useful if the value contains a
    “#” comment character.

Fixes #2405
2013-03-25 09:53:04 -04:00
Michael DeHaan
9be44c201a Merge pull request #2455 from robparrott/debuggin-help
inject a dictionary of avaiable variables and the environment into executor
2013-03-24 14:49:37 -07:00
Michael DeHaan
fe2f506514 Merge pull request #2462 from sfromm/issue2461
Make logging to journal match what goes to syslog on non-systemd hosts
2013-03-24 14:46:10 -07:00