infra/ansible/roles/common/tasks/hostname.yml
surtur d89101b437
chore: add changes
- mv common vault to group_vars/all/vault_common.yml
- conclude timesyncing setup
- enable cronie/chrony for systems
- set up dnscrypt properly, including replacing /etc/resolv.conf and
  validating the config
- fix privileges (become)
2023-07-24 17:16:33 +02:00

12 lines
219 B
YAML

---
- name: Set surtur's hostname
ansible.builtin.hostname:
name: surtur
when: ansible_host == "surtur"
- name: Set nbgw's hostname
ansible.builtin.hostname:
name: nbgw
when: ansible_host == "nbgw"
...