Commit 46a05841 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Add new server for accounts.archlinux.org

parent 04fe028c
......@@ -120,3 +120,18 @@ resource "hcloud_server" "ciprototype" {
ignore_changes = [image]
}
}
resource "hcloud_rdns" "acccounts" {
server_id = "${hcloud_server.accounts.id}"
ip_address = "${hcloud_server.accounts.ipv4_address}"
dns_ptr = "accounts.archlinux.org"
}
resource "hcloud_server" "accounts" {
name = "accounts.archlinux.org"
image = "${data.hcloud_image.archlinux.id}"
server_type = "cx11"
lifecycle {
ignore_changes = [image]
}
}
---
- name: setup Keycloak server
hosts: accounts.archlinux.org
remote_user: root
roles:
- { role: common }
- { role: firewalld }
- { role: sshd }
- { role: root_ssh }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment