Add el7b jenkins builder, clean up image names, etc
This commit is contained in:
parent
aa550d22e1
commit
15eae91b61
4 changed files with 34 additions and 3 deletions
10
inventory/host_vars/209.132.184.137
Normal file
10
inventory/host_vars/209.132.184.137
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
instance_type: m1.xlarge
|
||||||
|
image: "{{ el7b_qcow_id: }}"
|
||||||
|
keypair: fedora-admin-20130801
|
||||||
|
security_group: jenkins
|
||||||
|
zone: nova
|
||||||
|
hostbase: jenkins-el7b
|
||||||
|
public_ip: 209.132.184.137
|
||||||
|
root_auth_users: pingou
|
||||||
|
description: jenkins el7b worker/slave
|
|
@ -466,6 +466,8 @@ bodhi.dev.fedoraproject.org
|
||||||
209.132.184.158
|
209.132.184.158
|
||||||
# F20 builder
|
# F20 builder
|
||||||
209.132.184.209
|
209.132.184.209
|
||||||
|
# RHEL7beta builder
|
||||||
|
209.132.184.137
|
||||||
|
|
||||||
[jenkins-cloud]
|
[jenkins-cloud]
|
||||||
209.132.184.153
|
209.132.184.153
|
||||||
|
|
16
playbooks/ssh_host_keys.yml
Normal file
16
playbooks/ssh_host_keys.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
- hosts: all
|
||||||
|
sudo: False
|
||||||
|
vars:
|
||||||
|
keyfile: /tmp/known_hosts
|
||||||
|
tasks:
|
||||||
|
- name: Add short name to file
|
||||||
|
local_action: shell ssh-keyscan -p {{ansible_ssh_port|default(22)}} -H {{inventory_hostname}} 2> /dev/null >> {{keyfile}}
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
|
- name: Add FQDN to file
|
||||||
|
local_action: shell ssh-keyscan -p {{ansible_ssh_port|default(22)}} -H {{ansible_fqdn}} 2> /dev/null >> {{keyfile}}
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
|
- name: Add IPv4 to file
|
||||||
|
local_action: shell ssh-keyscan -p {{ansible_ssh_port|default(22)}} -H {{ansible_default_ipv4.address}} 2> /dev/null >> {{keyfile}}
|
||||||
|
ignore_errors: True
|
|
@ -14,10 +14,13 @@ el6_qcow_id: ami-00000013
|
||||||
f18_qcow_id: ami-00000016
|
f18_qcow_id: ami-00000016
|
||||||
el6_ami_id: ami-0000000e
|
el6_ami_id: ami-0000000e
|
||||||
f17_qcow_id: ami-00000001
|
f17_qcow_id: ami-00000001
|
||||||
# Fedora-19-RC2-x86_64
|
# Fedora-19
|
||||||
f19_qcow_id: ami-00000020
|
f19_qcow_id: ami-00000020
|
||||||
# Fedora-20-TC4-x86_64
|
# Fedora-20
|
||||||
f20_qcow_id: ami-00000038
|
f20_qcow_id: ami-00000042
|
||||||
|
# RHEL7beta
|
||||||
|
el7b_qcow_id: ami-0000003f
|
||||||
|
|
||||||
# Set a default hostname base to transient. Override in host vars or command line.
|
# Set a default hostname base to transient. Override in host vars or command line.
|
||||||
hostbase: transient
|
hostbase: transient
|
||||||
# root_auth_users for cloud instances is '' by default
|
# root_auth_users for cloud instances is '' by default
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue