Commit Graph

9797 Commits (9be732d8f2eb788f12324fa149a7c2b7ed31bba1)
 

Author SHA1 Message Date
willthames 4a093a9709 Make it easier to determine whether instance creation or tagging fails 11 years ago
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
11 years ago
amree 1d731e5c30 MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value 11 years ago
James Cammarata 25cf215f54 Create the tempdir in the accelerate module if it doesn't exist
Fixes #6047
11 years ago
Michael DeHaan 372ae072fd Merge pull request #6300 from l0neranger/devel
Update debian install documentation to include dependency resolution
11 years ago
Michael DeHaan ff658caafb Merge pull request #6297 from ardentperf/patch-1
Update playbooks_vault.rst
11 years ago
James Cammarata 0e98496e12 Merge pull request #6299 from jimi-c/issue_4656_role_deps_across_plays
Keep track of role dependencies across plays
11 years ago
Michael DeHaan 94a7fb60fe Allow escaped comments in inventory files. 11 years ago
aresch 23a0468a4b Fix respecting remote_tmp when sudo is used 11 years ago
James Tanner 4e8ed92130 Fixes #6077 decode escaped newline characters in content for the copy module 11 years ago
Harsha Yalamanchili 063dc5e971 Update debian install documentation to include dependency resolution 11 years ago
Harsha Yalamanchili c09e0211f7 Update debian install documentation to include dependency resolution 11 years ago
Richard C Isaacson b41d8106ff Revert "Merge pull request #6287 from risaacson/fix_hash_in_var"
This reverts commit a808287451, reversing
changes made to 6129ea7566.
11 years ago
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
11 years ago
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.
11 years ago
James Tanner 6129ea7566 Fixes #6298 and adds a sudo unit test for synchronize 11 years ago
Richard C Isaacson 22a1fb28d6 Minor cleanup. 11 years ago
g-k-r a3c36a6853 modifed test to use get_hosts instead of get_groups
closes #5749

Conflicts:
	test/units/TestInventory.py
11 years ago
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
11 years ago
jctanner 6a615f18c5 Merge pull request #5872 from tomdymond/add-ignoreerror-to-sysctl
Add option to enable the sysctl -e option
11 years ago
Richard C Isaacson 38abd5e20e Break this out into a reusable function and document regex shortcomings. 11 years ago
Jeremy Schneider c4fea2d5b6 Update playbooks_vault.rst
very minor grammatical fix for readability
11 years ago
Michael DeHaan b5e487f2d9 Merge pull request #6290 from lberruti/fix_complex_args
fixes #6244
11 years ago
Luca Berruti 7cf363910a fixes #6244 11 years ago
jctanner 40ee030790 Merge pull request #6265 from franckcuny/gce-fixes
Add credential parameters to the GCE modules.
11 years ago
Leo R. Lundgren dd62de0384 Fix whitespace (tabs -> spaces). 11 years ago
Leo R. Lundgren 347b425c67 Make irc module accept the nick being shortened by the server.
This can happen if the server has a NICKLEN setting which is less
than the length of the specified nick. With this patch we now grab
that nick and use it moving forward, instead of failing because we
didn't get back the one we specified, in the connection response.
11 years ago
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.
11 years ago
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.
11 years ago
Aaron Bassett 5c589af191 fix missing stdin in _parallel_runner 11 years ago
Michael DeHaan ca4ff261eb Merge pull request #6282 from koffu/patch-1
Update intro_installation.rst
11 years ago
Michael DeHaan 7a6a4c85a3 Merge pull request #6281 from alimony/fix_broken_tower_link
Fix broken Ansible Tower link.
11 years ago
koffu b75768c206 Update intro_installation.rst
error in ubuntu install instructions
11 years ago
Markus Amalthea Magnuson 745b419cc1 Fix broken Ansible Tower link. 11 years ago
Markus Amalthea Magnuson e13278606b Remove trailing whitespace. 11 years ago
Michael DeHaan da2126eda5 Merge pull request #6279 from techtonik/patch-1
setup: Fix KeyError: 'ipv4_secondaries' (issue #6274)
11 years ago
Michael DeHaan f1ad0b8fb6 Merge pull request #6275 from mscherer/fix_nova_compute_exception
Fix wrong module name for exception in nova compute
11 years ago
Michael DeHaan 9a8222a3a4 Merge pull request #6280 from JimShoe/patch-1
Fixed Links
11 years ago
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.
11 years ago
anatoly techtonik a48f0da9d8 setup: Fix KeyError: 'ipv4_secondaries' (issue #6274) 11 years ago
Michael DeHaan 18ca049b23 Merge pull request #6277 from Mikki-black/patch-1
Update README.md
11 years ago
Mikki-black ef915330c5 Update README.md
ansible depends on sshpass as well.
11 years ago
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
11 years ago
jctanner 0e494242cf Merge pull request #6271 from jimkytola/docker-image-fix
Removes pluralization of manager tag attribute.
11 years ago
Michael DeHaan 9a0fa2988d Merge pull request #6270 from ToBeReplaced/ejabberd_user_doc
Add comment about mod_admin_extra
11 years ago
Jim Kytola 186d19f224 Removes pluralization of manager tag attribute. 11 years ago
ToBeReplaced 23d4ecc2a5 Add comment about mod_admin_extra
Fixes issue #6027.
11 years ago
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.
11 years ago
Michael DeHaan d063cfaf39 Merge pull request #6266 from drybjed/update_debian_version
Synchronize .deb package version with VERSION file
11 years ago
Maciej Delmanowski 73a6d51f7d Synchronize .deb package version with VERSION file 11 years ago