infra/ansible/group_vars/all/all.yml

57 lines
1.1 KiB
YAML

---
# Global variables for all hosts
# Timezone configuration
timezone: America/Chicago
# Managed groups and users
managed_groups:
- name: ansible
gid: 10001
managed_users:
- name: ansible
uid: 10001
shell: /bin/bash
home: /home/ansible
primary_group: ansible
authorized_keys:
- type: file
value: ansible.pub
exclusive: true
- name: graham
shell: /bin/bash
home: /home/graham
admin: true
authorized_keys:
- type: github
value: gmcintire
- name: andy
shell: /bin/bash
home: /home/andy
admin: true
authorized_keys:
- type: github
value: nsnw
# Base settings
base:
ntp:
server: 0.us.pool.ntp.org
monitoring:
cert_dir: /var/lib/icinga2/certs
server: monitor.vntx.net
# SSH service name (varies by distribution)
ssh_service: "{{ 'ssh' if ansible_os_family == 'Debian' else 'sshd' }}"
# NTP service name (varies by distribution)
ntp_service: "{{ 'ntp' if ansible_os_family == 'Debian' else 'ntpd' }}"
# Network configuration - skip for all hosts
network:
skip: true
nameservers:
- 9.9.9.9
- 149.112.112.112
domain: local