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:
parent
61ac2a661b
commit
71cd6fff20
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
|
||||
hostname: "apollo"
|
||||
|
||||
ipv4_address: "138.201.81.199"
|
||||
ipv4_netmask: "/32"
|
||||
ipv6_address: "2a01:4f8:172:1d86::1"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
hostname: "orion"
|
||||
ipv4_address: "88.198.91.70"
|
||||
ipv4_netmask: "/32"
|
||||
ipv6_address: "2a01:4f8:160:6087::1"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
---
|
||||
hostname: "soyuz"
|
||||
ipv4_address: "138.201.206.85"
|
||||
ipv4_netmask: "/32"
|
||||
ipv6_address: "2a01:4f8:173:1654::1"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
hostname: "vostok"
|
||||
|
||||
ipv4_address: "5.9.158.171"
|
||||
ipv4_netmask: "/32"
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue