renae temp f17 to fedora
add a conditional for the infrastructure repo
This commit is contained in:
parent
5c014479c7
commit
a257bbece0
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,6 @@
|
|||
# setup a transient fedora instance
|
||||
# optionally can take --extra-vars="hostbase=hostnamebase root_auth_users='user1 user2 user3'"
|
||||
|
||||
- name: check/create instance
|
||||
hosts: lockbox01.phx2.fedoraproject.org
|
||||
user: root
|
||||
|
@ -8,8 +11,8 @@
|
|||
- ${private}/vars.yml
|
||||
vars:
|
||||
- keypair: admin
|
||||
- image: emi-B5BA397D
|
||||
- instance_type: c1.medium
|
||||
- image: $f18_qcow_id:
|
||||
- instance_type: m1.small
|
||||
- security_group: default
|
||||
|
||||
tasks:
|
||||
|
@ -26,8 +29,8 @@
|
|||
- ${vars}/${ansible_distribution}.yml
|
||||
|
||||
tasks:
|
||||
- include: $tasks/growroot_cloud.yml
|
||||
- include: $tasks/cloud_setup_basic.yml
|
||||
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
|
@ -1,6 +1,7 @@
|
|||
- name: add infra repo
|
||||
action: get_url url=http://infrastructure.fedoraproject.org/el/infrastructure.repo dest=/etc/yum.repos.d/
|
||||
|
||||
only_if: '$is_rhel'
|
||||
|
||||
- name: install cloud-utils
|
||||
action: yum name=cloud-utils state=present
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue