cchurch / ansible-role-win-ec2

Ansible role to create and destroy Windows instances on EC2
13 stars 10 forks source link
ansible-role ec2 windows

Build Status Galaxy

Win-EC2

Create and destroy Windows instances on EC2. Generate a static inventory file usable for running additional playbooks against Windows hosts.

Role Variables

The following variables may be defined to customize this role:

Valid AWS credentials must be specified either by setting aws_access_key and aws_secret_key variables or by defining AWS_ACCESS_KEY and AWS_SECRET_KEY environment variables.

Example Playbook

The following example playbook creates, then destroys Windows instances in EC2:

- hosts: localhost
  vars:
    win_ec2_name_prefix: example
  roles:
    - role: cchurch.win-ec2
    - role: cchurch.win-ec2
      win_ec2_action: destroy

License

BSD

Author Information

Chris Church chris@ninemoreminutes.com