Commit graph

13303 commits

Author SHA1 Message Date
Brian Coca
2f1fc3e042 Merge pull request #10100 from ansible/revert-9834-fix-variables-with-dashes
Revert "Support variable values with dashes"
2015-01-26 12:54:59 -05:00
Brian Coca
9d190c8d8d Revert "Support variable values with dashes" 2015-01-26 12:54:50 -05:00
Brian Coca
13bbf9bfbb Merge pull request #9834 from nathancahill/fix-variables-with-dashes
Support variable values with dashes
2015-01-26 12:51:56 -05:00
James Cammarata
455423aafb Updating submodule reference for v2 2015-01-26 11:34:33 -06:00
James Cammarata
71e774e8bf Implementing playbook-level includes and getting includes integration test working 2015-01-26 11:30:30 -06:00
Toshio Kuratomi
9095e97c6a Parenthesis mean we can get rid of line continuation markers 2015-01-26 07:14:08 -08:00
Brian Coca
87faced179 Merge pull request #10090 from lorin/dnstxt-doc
Document that dnstxt lookup requires dnspython
2015-01-26 10:07:50 -05:00
Toshio Kuratomi
3102e1eccd Merge pull request #10096 from gilou/devel
Make setup.py work with Python 3 (and requiring 2.6)
2015-01-26 07:06:20 -08:00
Gilles Pietri
ee448493d7 Make setup.py work with Python 3 (and requiring 2.6) 2015-01-26 14:12:35 +01:00
rpe-github
0a73067153 Use basename -- $0 in case $0 starts with a dash.
For example, pdksh $0 contains '-ksh'.
2015-01-25 23:13:54 +01:00
Lorin Hochstein
0474b5ce5d Document that dnstxt lookup requires dnspython
Add a line in the docs to specify that dnstxt requires that you have the
dnspython package installed.
2015-01-25 15:20:49 -05:00
Akos Vandra
03fa421f3f do not use with, it is not supported all the way down to 2.4 2015-01-25 18:42:59 +01:00
Akos Vandra
e8144b3b90 fixes #10086 2015-01-25 14:51:01 +01: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