Commit graph

9139 commits

Author SHA1 Message Date
Michael DeHaan
94a7fb60fe Allow escaped comments in inventory files. 2014-03-05 20:10:25 -05:00
James Tanner
4e8ed92130 Fixes #6077 decode escaped newline characters in content for the copy module 2014-03-05 18:49:54 -05:00
Richard C Isaacson
b41d8106ff Revert "Merge pull request #6287 from risaacson/fix_hash_in_var"
This reverts commit a808287451, reversing
changes made to 6129ea7566.
2014-03-05 14:49:30 -06:00
Richard Isaacson
a808287451 Merge pull request #6287 from risaacson/fix_hash_in_var
Fix inventory for test_dir_inventory, merge PRs from GH-5749, cleanup some formatting.
2014-03-05 14:20:27 -06:00
James Tanner
6129ea7566 Fixes #6298 and adds a sudo unit test for synchronize 2014-03-05 14:51:40 -05:00
Richard C Isaacson
22a1fb28d6 Minor cleanup. 2014-03-05 13:44:15 -06:00
g-k-r
a3c36a6853 modifed test to use get_hosts instead of get_groups
closes #5749

Conflicts:
	test/units/TestInventory.py
2014-03-05 13:29:47 -06:00
g-k-r
23fee4b836 add test same host in different files in dir
tests issue #5749
 same host defined in different groups which in turn are defined
 in different ini files in an inventory directory

Conflicts:
	test/units/TestInventory.py
2014-03-05 13:27:39 -06:00
jctanner
6a615f18c5 Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
Add option to enable the sysctl -e option
2014-03-05 12:58:05 -05:00
Richard C Isaacson
38abd5e20e Break this out into a reusable function and document regex shortcomings. 2014-03-05 10:50:58 -06:00
Michael DeHaan
b5e487f2d9 Merge pull request #6290 from lberruti/fix_complex_args
fixes #6244
2014-03-05 08:06:39 -05:00
Luca Berruti
7cf363910a fixes #6244 2014-03-05 09:18:01 +01:00
jctanner
40ee030790 Merge pull request #6265 from franckcuny/gce-fixes
Add credential parameters to the GCE modules.
2014-03-05 00:11:52 -05:00
Franck Cuny
6294264dc4 Add credential parameters to the GCE modules.
In order to simplify the workflow with the GCE modules, it's now
possible to add the parameters and project name as arguments to the
various GCE modules.

The inventory plugin also returns the IP of the host in
`ansible_ssh_host` so that you don't have to specify IPs into the
inventory file.

Some update to the documentation are also added.

Closes #5583.
2014-03-04 19:27:49 -08:00
Richard C Isaacson
49bd8b0b35 Fix inventory for test_dir_inventory
It came up that fixing this unit test may relate to another ticket that is open. This work allows us to uncomment this unit test by fixing how we pars variables allowing a quoted variable to contain a '#'.

Work also went into cleaning up some of the test data to clarify what was working.

Lastly work went into cleaning up formatting so that the code is easily read.
2014-03-04 18:31:49 -06:00
Michael DeHaan
ca4ff261eb Merge pull request #6282 from koffu/patch-1
Update intro_installation.rst
2014-03-04 15:21:11 -05:00
Michael DeHaan
7a6a4c85a3 Merge pull request #6281 from alimony/fix_broken_tower_link
Fix broken Ansible Tower link.
2014-03-04 15:20:57 -05:00
koffu
b75768c206 Update intro_installation.rst
error in ubuntu install instructions
2014-03-04 22:11:58 +02:00
Markus Amalthea Magnuson
745b419cc1 Fix broken Ansible Tower link. 2014-03-04 20:57:29 +01:00
Markus Amalthea Magnuson
e13278606b Remove trailing whitespace. 2014-03-04 20:57:12 +01:00
Michael DeHaan
da2126eda5 Merge pull request #6279 from techtonik/patch-1
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274)
2014-03-04 14:24:36 -05:00
Michael DeHaan
f1ad0b8fb6 Merge pull request #6275 from mscherer/fix_nova_compute_exception
Fix wrong module name for exception in nova compute
2014-03-04 14:24:00 -05:00
Michael DeHaan
9a8222a3a4 Merge pull request #6280 from JimShoe/patch-1
Fixed Links
2014-03-04 14:22:42 -05:00
Nathan W
601c4f17ec Fixed Links
Link to guru page was not rendering correctly on http://docs.ansible.com/faq.html.
Link to readme returned 404.
2014-03-04 12:18:34 -06:00
anatoly techtonik
a48f0da9d8 setup: Fix KeyError: 'ipv4_secondaries' (issue #6274) 2014-03-04 20:00:18 +02:00
Michael DeHaan
18ca049b23 Merge pull request #6277 from Mikki-black/patch-1
Update README.md
2014-03-04 12:10:09 -05:00
Mikki-black
ef915330c5 Update README.md
ansible depends on sshpass as well.
2014-03-04 18:08:23 +01:00
Michael Scherer
5fd7b8010f Fix wrong module name for exception in nova compute
failed: [127.0.0.1] => {"failed": true, "parsed": false}
  invalid output was: Traceback (most recent call last):
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 1328, in <module>
      main()
    File "/tmp/ansible-tmp-1393950384.39-102240090845592/nova_compute", line 241, in main
      except exc.Unauthorized, e:
  NameError: global name 'exc' is not defined
2014-03-04 17:30:15 +01:00
jctanner
0e494242cf Merge pull request #6271 from jimkytola/docker-image-fix
Removes pluralization of manager tag attribute.
2014-03-04 10:37:50 -05:00
Michael DeHaan
9a0fa2988d Merge pull request #6270 from ToBeReplaced/ejabberd_user_doc
Add comment about mod_admin_extra
2014-03-04 10:10:43 -05:00
Jim Kytola
186d19f224 Removes pluralization of manager tag attribute. 2014-03-04 10:07:32 -05:00
ToBeReplaced
23d4ecc2a5 Add comment about mod_admin_extra
Fixes issue #6027.
2014-03-04 09:19:44 -05:00
Michael DeHaan
d063cfaf39 Merge pull request #6266 from drybjed/update_debian_version
Synchronize .deb package version with VERSION file
2014-03-04 07:40:49 -05:00
Maciej Delmanowski
73a6d51f7d Synchronize .deb package version with VERSION file 2014-03-04 09:22:02 +01:00
Richard Isaacson
92aacb198c Merge pull request #6156 from iiordanov/devel
Add support for checking host against global known host files.

The effect of this is that before this fix if files are spread across the known_hosts file but not in the ~/known_hosts file the hosts will execute sequentially. This PR augments the functionality so that all of the knowns hosts will execute in parallel.
2014-03-03 23:51:51 -06:00
Richard Isaacson
e79d859dfb Merge pull request #6213 from sergevanginderachter/fix-delegate-templating
Fixes templating of ansible_ssh_host for delegates.

Tested that this works. Confirmed.
2014-03-03 23:10:09 -06:00
Michael DeHaan
435104065e Merge pull request #6248 from hkariti/fix_list_copy
Fix incorrect use of copy() on list, causing a traceback
2014-03-03 17:11:30 -05:00
Michael DeHaan
eb80c8fb19 Merge pull request #6260 from j2sol/6258
Avoid range selection on empty groups
2014-03-03 17:05:37 -05:00
Michael DeHaan
b5cc633251 Merge pull request #6261 from arianitu/patch-2
Update CONTRIBUTING.md
2014-03-03 17:04:54 -05:00
arianitu
c67c463786 Update CONTRIBUTING.md
docsite no longer has a subdirectory latest.
2014-03-03 16:43:04 -05:00
Michael DeHaan
ac830998fe Merge pull request #6259 from arianitu/patch-1
minor typo in playbooks_variables.rst
2014-03-03 16:30:50 -05:00
Jesse Keating
0c2c37a47a Avoid range selection on empty groups
This prevents a traceback when the group is empty.
Fixes #6258
2014-03-03 13:23:27 -08:00
arianitu
fdf6ab016e Update playbooks_variables.rst
Another minor typo.
2014-03-03 16:08:40 -05:00
arianitu
93c331b222 minor typo in playbooks_variables.rst
so so, this should probably be fixed!
2014-03-03 16:03:54 -05:00
jctanner
07495ed29e Merge pull request #6256 from angstwad/changes_changes-yo-dawg-i-herd-you-like-changes-so-commited-some-changes-into-changes-so-you-can-diff-while-you-diff
Add note about su support in CHANGELOG
2014-03-03 15:06:21 -05:00
Paul Durivage
b00c00cfb4 Add note about su support 2014-03-03 13:55:37 -06:00
James Tanner
46dbc4de65 Add debconf to the changelog 2014-03-03 13:51:44 -05:00
James Tanner
39e368b713 Fix debconf docstring indentation 2014-03-03 13:48:44 -05:00
James Tanner
ff1ae57fbf Merge branch 'debconf' of git://github.com/bcoca/ansible into bcoca-debconf 2014-03-03 13:46:11 -05:00
James Tanner
d8fb05fb63 Update changelog for cpanm 2014-03-03 13:41:12 -05:00