1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-10 15:56:12 +02:00

Consolidate installation playbook

Hostnames are now set in host_vars and the same playbook is used for
all hosts. If one host needs to be reinstalled the playbook can be run
with "--limit $hostname".

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Florian Pritz 2017-09-05 20:08:39 +02:00
parent 61ac2a661b
commit 71cd6fff20
No known key found for this signature in database
GPG Key ID: 6D1655C14CE1C13E
8 changed files with 7 additions and 41 deletions

View File

@ -1,5 +1,7 @@
---
hostname: "apollo"
ipv4_address: "138.201.81.199"
ipv4_netmask: "/32"
ipv6_address: "2a01:4f8:172:1d86::1"

View File

@ -1,4 +1,5 @@
---
hostname: "orion"
ipv4_address: "88.198.91.70"
ipv4_netmask: "/32"
ipv6_address: "2a01:4f8:160:6087::1"

View File

@ -1,5 +1,5 @@
---
hostname: "soyuz"
ipv4_address: "138.201.206.85"
ipv4_netmask: "/32"
ipv6_address: "2a01:4f8:173:1654::1"

View File

@ -1,4 +1,5 @@
---
hostname: "vostok"
ipv4_address: "5.9.158.171"
ipv4_netmask: "/32"

View File

@ -1,12 +0,0 @@
---
# This script is for provisioning a server for first boot.
# Care: It is not idempotent by design.
- name: provision apollo
hosts: apollo
remote_user: root
vars:
- hostname: apollo
roles:
- install_arch

View File

@ -3,10 +3,8 @@
# This script is for provisioning a server for first boot.
# Care: It is not idempotent by design.
- name: provision orion
hosts: orion
- name: install_arch
hosts: all
remote_user: root
vars:
- hostname: orion
roles:
- install_arch

View File

@ -1,12 +0,0 @@
---
# This script is for provisioning a server for first boot.
# Care: It is not idempotent by design.
- name: provision soyuz
hosts: soyuz
remote_user: root
vars:
- hostname: soyuz
roles:
- install_arch

View File

@ -1,12 +0,0 @@
---
# This script is for provisioning a server for first boot.
# Care: It is not idempotent by design.
- name: provision vostok
hosts: vostok
remote_user: root
vars:
- hostname: vostok
roles:
- install_arch