copr: trying to add a copr-fe-dev instance in AWS
This commit is contained in:
parent
0d848e3644
commit
77e8153b59
3 changed files with 34 additions and 1 deletions
26
inventory/host_vars/54.152.63.88
Normal file
26
inventory/host_vars/54.152.63.88
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
ansible_ssh_user: fedora
|
||||
ansible_become_user: root
|
||||
ansible_become: yes
|
||||
datacenter: aws
|
||||
inventory_hostname: "copr-fe-dev.cloud.fedoraproject.org"
|
||||
inventory_instance_name: copr-fe-dev
|
||||
|
||||
hostbase: copr-fe-dev-
|
||||
public_ip: 54.152.63.88
|
||||
root_auth_users: msuchy frostyx dturecek praiskup schlupov thrnciar
|
||||
description: copr frontend - dev instance
|
||||
|
||||
# Copr vars
|
||||
copr_hostbase: copr-fe-dev
|
||||
|
||||
nagios_Check_Services:
|
||||
mail: false
|
||||
nrpe: false
|
||||
sshd: false
|
||||
named: false
|
||||
dhcpd: false
|
||||
httpd: false
|
||||
swap: false
|
||||
ping: false
|
||||
raid: false
|
|
@ -1115,6 +1115,10 @@ copr-dist-git.fedorainfracloud.org
|
|||
[copr_front_dev]
|
||||
copr-fe-dev.cloud.fedoraproject.org
|
||||
|
||||
[copr_front_dev_aws]
|
||||
# stg machine in AWS
|
||||
54.152.63.88
|
||||
|
||||
[copr_back_dev]
|
||||
copr-be-dev.cloud.fedoraproject.org
|
||||
|
||||
|
@ -1158,6 +1162,7 @@ copr_front_dev
|
|||
copr_back_dev
|
||||
copr_keygen_dev
|
||||
copr_dist_git_dev
|
||||
copr_front_dev_aws
|
||||
copr_keygen_dev_aws
|
||||
|
||||
[copr_hypervisors_aarch64]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: check/create instance
|
||||
hosts: copr_front_dev:copr_front
|
||||
hosts: copr_front_dev:copr_front:copr_front_dev:aws
|
||||
# hosts: copr_front
|
||||
gather_facts: False
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
|||
|
||||
tasks:
|
||||
- import_tasks: "{{ tasks_path }}/persistent_cloud.yml"
|
||||
when: datacenter != "aws"
|
||||
|
||||
- name: cloud basic setup
|
||||
hosts: copr_front_dev:copr_front
|
||||
|
@ -27,6 +28,7 @@
|
|||
- import_tasks: "{{ tasks_path }}/cloud_setup_basic.yml"
|
||||
- name: set hostname (required by some services, at least postfix need it)
|
||||
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
||||
when: datacenter != "aws"
|
||||
|
||||
- name: provision instance
|
||||
hosts: copr_front:copr_front_dev
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue