1. 15 Jul, 2014 1 commit
  2. 23 Apr, 2014 1 commit
  3. 09 Apr, 2014 1 commit
  4. 11 Mar, 2014 1 commit
  5. 06 Mar, 2014 1 commit
    • Work to allow security tokens and profiles to work with Ansible · b9a7352e
      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
      Will Thames committed
  6. 04 Mar, 2014 1 commit
  7. 13 Feb, 2014 1 commit
  8. 06 Feb, 2014 1 commit
  9. 18 Dec, 2013 1 commit
  10. 17 Dec, 2013 1 commit
  11. 27 Nov, 2013 2 commits
    • Fix AWS credential params for s3 and other modules · 26374d89
      The `ec2_ami`, `ec2_elb`, `ec2_tag`, `ec2_vpc`, `route53`, and `s3` modules
      all canonicalize the AWS access and secret key params as
      `aws_access_key` and `aws_secret_key`. However, following the fixes for #4540,
      those modules now use `get_ec2_creds` from `lib/ansible/module_utils/ec2.py`,
      which requires access/secret key params to be canonicalized as
      `ec2_access_key` and `ec2_secret_key`. As a result, AWS credentials passed
      to those six modules as parameters are ignored (they instead always use
      the AWS credentials specified via environment variables, or nothing).
      
      So this change fixes those six modules to canonicalize the
      AWS access and secret key params as `ec2_access_key` and `ec2_secret_key`,
      allowing them to again accept AWS credentials passed via module params.
      Justin Ludwig committed
  12. 01 Nov, 2013 1 commit
  13. 12 Oct, 2013 1 commit
  14. 13 Aug, 2013 1 commit