diff --git a/playbooks/f17-temp-instance.yml b/playbooks/f17-temp-instance.yml new file mode 100644 index 0000000000..fc124f3bd7 --- /dev/null +++ b/playbooks/f17-temp-instance.yml @@ -0,0 +1,33 @@ +- 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: m1.large + - 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