mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-06-10 03:06:03 +02:00
Add the new boi: dragon.archlinux.org
This commit is contained in:
parent
b2e22da8e6
commit
1604966684
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
hostname: "dragon"
|
||||
|
||||
ipv4_address: "195.201.167.210"
|
||||
ipv4_netmask: "/26"
|
||||
ipv6_address: "2a01:4f8:13a:102a::2"
|
||||
ipv6_netmask: "/128"
|
||||
ipv4_gateway: "195.201.167.193"
|
||||
ipv6_gateway: "fe80::1"
|
||||
filesystem: btrfs
|
||||
raid_level: raid0
|
||||
system_disks:
|
||||
- /dev/nvme0n1
|
||||
- /dev/nvme1n1
|
||||
|
||||
archbuild_fs: 'btrfs'
|
||||
|
||||
zabbix_agent_templates:
|
||||
- Template OS Linux
|
2
hosts
2
hosts
|
@ -4,6 +4,7 @@ vostok.archlinux.org
|
|||
apollo.archlinux.org
|
||||
soyuz.archlinux.org
|
||||
luna.archlinux.org
|
||||
dragon.archlinux.org
|
||||
|
||||
[pia]
|
||||
ind.mirror.pkgbuild.com
|
||||
|
@ -40,6 +41,7 @@ luna.archlinux.org
|
|||
orion.archlinux.org
|
||||
|
||||
[buildservers]
|
||||
dragon.archlinux.org
|
||||
soyuz.archlinux.org
|
||||
sgp.mirror.pkgbuild.com
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
when: "'Hetzner Rescue' not in motd_contents.stdout"
|
||||
|
||||
- name: partition and format the disks (btrfs)
|
||||
command: mkfs.btrfs -f -L rootfs -d raid1 /dev/sda /dev/sdb
|
||||
command: mkfs.btrfs -f -L rootfs -d {{ raid_level|default(raid1) }} {{ system_disks|join(' ') }}
|
||||
when: filesystem == "btrfs" and system_disks|length == 2
|
||||
|
||||
- name: partition and format the disks (btrfs)
|
||||
|
@ -49,11 +49,11 @@
|
|||
|
||||
- name: download bootstrap image
|
||||
get_url:
|
||||
url: https://mirrors.kernel.org/archlinux/iso/latest/archlinux-bootstrap-2019.02.01-x86_64.tar.gz
|
||||
url: https://mirrors.kernel.org/archlinux/iso/2019.03.01/archlinux-bootstrap-2019.03.01-x86_64.tar.gz
|
||||
dest: /tmp/
|
||||
|
||||
- name: extract boostrap image
|
||||
command: tar xf archlinux-bootstrap-2019.02.01-x86_64.tar.gz
|
||||
command: tar xf archlinux-bootstrap-2019.03.01-x86_64.tar.gz
|
||||
args:
|
||||
chdir: /tmp
|
||||
creates: /tmp/root.x86_64
|
||||
|
@ -148,7 +148,7 @@
|
|||
line: 'hosts: files mymachines resolve myhostname'
|
||||
|
||||
- name: enable services inside chroot
|
||||
command: chroot /mnt systemctl enable sshd systemd-networkd systemd-resolved
|
||||
command: chroot /mnt systemctl enable sshd systemd-networkd systemd-resolved fstrim
|
||||
|
||||
- set_fact: pubkey_list="{{ lookup('file', "{{ playbook_dir }}/../../pubkeys/" + item) }}"
|
||||
register: pubkeys
|
||||
|
|
Loading…
Reference in New Issue