Commit graph

13348 commits

Author SHA1 Message Date
Lorin Hochstein 6a7012474b Add docs for csvfile lookup 2015-01-23 21:06:12 -05:00
Steve Gargan c02f114967 Initial commit of Ansible support for the Consul clustering framework (http://consul.io).
Submission includes support for
 - creating and registering services and checks
 - reading, writing and lookup for values in consul's kv store
 - creating and manipulating sessions for distributed locking on values in the kv
 - creating and manipulating ACLs for restricting access to the kv store
 - inventory support that reads the Consul catalog and group nodes according to
     - datacenters
     - exposed services
     - service availability
     - arbitrary groupings from the kv store

This submission makes extensive use of the python-consul library and this is required
as a dependency and can be installed from pip.

The tests were written to target a vagrant cluster which can be setup by following the
instructions here http://github.com/sgargan/consul-vagrant
2015-01-24 01:09:03 +00:00
Toshio Kuratomi 53a3644ecd Update the modules 2015-01-22 23:17:58 -08:00
James Cammarata 45212394ca Adding in hostvars to v2 and getting more integration tests working 2015-01-22 22:50:21 -05:00
James Cammarata f9d451eb9c Adding post-validation method to connection info object 2015-01-22 22:49:04 -05:00
Toshio Kuratomi 364f772cc5 Fix quoting of shell parameters used in remote_checksum and add integration test to detect the error
Fixes #682
2015-01-22 12:33:06 -08:00
Brian Coca 1011530a34 Merge pull request #10070 from rpe-github/devel
ignore VERSION file in ansible-doc
2015-01-22 15:06:36 -05:00
Brian Coca 54c25a101b Merge pull request #10029 from gaqzi/devel
Add filter to turn a string into a UUID
2015-01-22 14:51:40 -05:00
rpe-github 3e7bb0c081 ignore VERSION file in ansible-doc 2015-01-22 19:46:10 +01:00
Toshio Kuratomi 7e538d54dd Install zip for the unarchive test 2015-01-22 10:37:19 -08:00
Toshio Kuratomi f2b1a289ed Update modules to pull in fixes 2015-01-22 10:27:50 -08:00
Toshio Kuratomi cce87acfed Fix integration test for unarchive to test zipfiles 2015-01-21 16:17:49 -08:00
Brian Coca 0e969aee06 updated submodules to latest devel 2015-01-21 19:09:22 -05:00
Toshio Kuratomi 46b29c3f4b Merge pull request #10058 from erinn/freeipa
Cleanup and expand FreeIPA inventory script it now accepts CL
2015-01-21 09:52:04 -08:00
Björn Andersson 65e4f2b2bc Add filter to turn a string into a UUID
This filter was made because I needed to create idempotent UUIDs when
installing the agent for Go (http://go.cd), which uses UUIds to
distinguish the agents from each other.

It uses a newly created Ansible namespace to distinguish UUIDs created
by Ansible from any other source. The new namespace is a random one
created by uuidgen on OSX.
2015-01-21 08:07:17 +08:00
Erinn Looney-Triggs d2c49db005 Cleanup and expand FreeIPA inventory script it now accepts CL
parameters.
2015-01-20 15:45:41 -07:00
Toshio Kuratomi 2a04663255 Port forward lmacken's fix for 9886 to v2 2015-01-20 12:41:02 -08:00
Brian Coca 82abe63eb2 Merge pull request #10055 from digi691/devel
Add the uuid of the device in ansible_mounts variable
2015-01-20 15:39:06 -05:00
Toshio Kuratomi e6b5cc9ccb Merge pull request #9887 from lmacken/devel
Use send instead of sendv on the systemd.journal (fixes #9886)
2015-01-20 12:19:42 -08:00
cdigiovanni 99bcbe746f Add the uuid of the device in ansible_mounts variable 2015-01-20 10:58:14 -06:00
James Cammarata 115684d235 Minor tweak to stub code for v2 ansible-playbook 2015-01-20 01:21:17 -06:00
James Cammarata eae9a406ad Fixing v2 code for test_yum and added capability to squash items 2015-01-20 01:16:19 -06:00
James Cammarata 5addbe7956 V2 submodule update 2015-01-19 21:18:24 -06:00
James Cammarata c60c295ada Adding more fixes for integration testing under v2 2015-01-19 16:18:46 -06:00
Toshio Kuratomi 2e0472e03b Allow ansible-playbook to determine if an invalid limit is specified 2015-01-19 13:39:45 -08:00
Brian Coca cf6f05e71d Merge pull request #10039 from tima/doc-version-fix
Modified the version numbers in one section on index of docs to reflect their current state.
2015-01-19 15:30:41 -05:00
Brian Coca 1a1b66702f Merge pull request #10037 from lekum/aws-doc-bug
Add missing register
2015-01-19 15:29:59 -05:00
Brian Coca 2ef5d6be1e Merge pull request #9702 from bcoca/better_errors_on_delegate
better exception handling with delegated hosts
2015-01-19 15:25:01 -05:00
Brian Coca 23783a5228 Merge pull request #10014 from bcoca/inventory_script_errorhandle
ansible now captures returncode errors on inventory scripts
2015-01-19 15:17:56 -05:00
Brian Coca 2a9d5054bf Merge pull request #9995 from bcoca/hash_filters
Hash filters
2015-01-19 15:17:39 -05:00
Brian Coca 976f51e5f5 Merge pull request #9968 from bcoca/v2_play_env
V2: added environment to play
2015-01-19 15:17:15 -05:00
Brian Coca 4603e9ce4d Merge pull request #10044 from jvoorhis/docsite-plugins-minor-corrections
Fix copy/paste in plugins docs.
2015-01-19 13:00:22 -05:00
Toshio Kuratomi 46e486ba41 Update modules to fix docs build and unittests 2015-01-19 09:43:30 -08:00
Toshio Kuratomi 01be9f4399 Update modules to latest 2015-01-19 09:07:49 -08:00
Marco Ippolito 23da2f6415 Redundant file descriptor specifier 2015-01-19 09:03:15 -08:00
Marco Ippolito 4cd5be396d BUG! Incorrect order of redirection AND incorrect redirection syntax
The replaced code only created a text file called `1' in the
current directory, it did *not* redirect output.
2015-01-19 09:03:15 -08:00
Marco Ippolito bc0f0f838e More elegant output using here-document syntax
POSIX section 2.7.4 defines here-documents.
2015-01-19 09:03:15 -08:00
Marco Ippolito 7eb278e797 Identified two verbosity levels: info, silent
Conflicts:
	hacking/env-setup
2015-01-19 09:03:15 -08:00
Marco Ippolito 9bc1e1a4a0 Reserve capitalised identifiers for system variables
Conflicts:
	hacking/env-setup
2015-01-19 09:03:15 -08:00
Marco Ippolito 53fadd371b No need to prepend `.' to a relative path 2015-01-19 09:03:14 -08:00
Brian Coca a1032f1a51 Merge pull request #10042 from ansible/revert-9808-sslconfig
Revert "Fix: Add support for SSL protocol version configuration option"
2015-01-19 08:37:20 -05:00
Brian Coca 78e1a7ed93 Revert "Fix: Add support for SSL protocol version configuration option" 2015-01-19 08:36:17 -05:00
Jeremy Voorhis f6e309bebb Fix copy/paste in plugins docs. 2015-01-18 15:55:24 -08:00
Timothy Appnel 802f0048e5 Modified the version numbers in one section on index of docs to reflect their current state. 2015-01-18 14:34:02 -05:00
Toshio Kuratomi 566a8d1b9d Fix issue with mixing quoting and glo9bbing. 2015-01-18 10:29:07 -08:00
Toshio Kuratomi 365af69c3e More quotes and reimplement without pushd/popd 2015-01-18 08:17:37 -08:00
Alejandro Guirao 63808ee3f1 Add missing register 2015-01-18 14:27:26 +01:00
Jimena Cabrera-Notari 1e865368ac Adds seconds to backup timestamp 2015-01-18 10:56:40 +00:00
Brian Coca ed891c76f6 Merge pull request #10026 from bcoca/v2_empty_inventory_warns
adds to v2 the ability to run with empty inventory (implicit localhost)
2015-01-16 18:41:33 -05:00
Brian Coca 832b3ebea2 adds to v2 the ability to run with empty inventory (implicit localhost),
which is now a warning and not an error.
2015-01-16 18:31:58 -05:00