ansible/playbooks/f17-temp-instance.yml
Seth Vidal 78969c2193 change the default size to c1.medium
add some explanation of how to setup new instances
2012-10-31 05:25:15 +00:00

33 lines
674 B
YAML

- name: check/create instance
hosts: lockbox01.phx2.fedoraproject.org
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
vars:
- keypair: admin
- image: emi-B5BA397D
- instance_type: c1.medium
- security_group: default
tasks:
- include: $tasks/transient_cloud.yml
- name: provision instance
hosts: tmp_just_created
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
- ${vars}/${ansible_distribution}.yml
tasks:
- include: $tasks/cloud_setup_basic.yml
handlers:
- include: $handlers/restart_services.yml