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

9403 commits

Author SHA1 Message Date
Brian Coca
d3d5680d8f tags lists are properly uniqued and joined now, also avoids type issues when passed as list/set or strings
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2014-03-06 08:28:36 -05:00
Sven Schliesing
f62cc1e351 Fix link in documentation
c(dest) -> c(path)
2014-03-06 13:16:29 +01:00
willthames
4a093a9709 Make it easier to determine whether instance creation or tagging fails 2014-03-06 16:30:39 +10:00
Will Thames
b9a7352e0a Work to allow security tokens and profiles to work with Ansible
Allow security tokens and profiles to be used as arguments
to the 'common' ec2 modules

Mostly refactoring to provide two new methods,
`get_aws_connection_info`, which results in a dict that can be
passed through to the boto `connect_to_region` calls, and
`connect_to_aws` that can pass that dict through to the
`connect_to_region` method of the appropriate module.

Tidied up some variable names

Works around boto/boto#2100

profiles don't work with boto < 2.24, but this detects for that
and fails with an appropriate message. It is designed to work
if profile is not passed but boto < 2.24 is installed.

Modifications to allow empty aws auth variables to be passed
(this is useful if wanting to have the keys as an optional
parameter in ec2 calls - if set, use this value, if not set,
use boto config or env variables)

Reworked validate_certs improvements to work with refactoring

Added documentation for profile and security_token to affected modules
2014-03-06 16:28:30 +10:00
amree
1d731e5c30 MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value 2014-03-06 12:19:54 +08:00
James Cammarata
25cf215f54 Create the tempdir in the accelerate module if it doesn't exist
Fixes #6047
2014-03-05 22:08:09 -06:00
Michael DeHaan
372ae072fd Merge pull request #6300 from l0neranger/devel
Update debian install documentation to include dependency resolution
2014-03-05 20:48:41 -05:00
Michael DeHaan
ff658caafb Merge pull request #6297 from ardentperf/patch-1
Update playbooks_vault.rst
2014-03-05 20:48:04 -05:00
James Cammarata
0e98496e12 Merge pull request #6299 from jimi-c/issue_4656_role_deps_across_plays
Keep track of role dependencies across plays
2014-03-05 19:46:46 -06:00
Michael DeHaan
94a7fb60fe Allow escaped comments in inventory files. 2014-03-05 20:10:25 -05:00
aresch
23a0468a4b Fix respecting remote_tmp when sudo is used 2014-03-05 16:25:42 -08:00
James Tanner
4e8ed92130 Fixes #6077 decode escaped newline characters in content for the copy module 2014-03-05 18:49:54 -05:00
Harsha Yalamanchili
063dc5e971 Update debian install documentation to include dependency resolution 2014-03-05 14:04:36 -08:00
Harsha Yalamanchili
c09e0211f7 Update debian install documentation to include dependency resolution 2014-03-05 14:02:16 -08: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
James Cammarata
73c883c122 Keep track of role dependencies across plays
Also fixes a bug in which tags specified on top-level roles were
not being passed down to dependent roles.

Fixes #4656
2014-03-05 14:37:37 -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
Jeremy Schneider
c4fea2d5b6 Update playbooks_vault.rst
very minor grammatical fix for readability
2014-03-05 10:01:41 -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
Aaron Bassett
5c589af191 fix missing stdin in _parallel_runner 2014-03-04 16:00:26 -05: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
willthames
f568140ea5 Allow ec2_tag module to list the tags of an instance
Use the list argument to state to just collect the
tags of a resource through the AWS API.
2014-03-04 23:36:17 +10: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