Add ansible roles + templates

This commit is contained in:
2025-01-07 22:17:39 +00:00
parent 3e65c89dc9
commit 04db61efc2
12 changed files with 202 additions and 0 deletions

View File

@ -0,0 +1,11 @@
---
# Playbook to debug and display variables
- name: Display all variables/facts known for a host
hosts: all
become: no
tasks:
- name: Display all variables/facts known for a host
tags: debug_info
debug:
var: hostvars[inventory_hostname]

View File

@ -0,0 +1,8 @@
---
# Playbook to set up the local DNS resolver
- name: Install and configure the local DNS resolver
hosts: dns
become: yes
roles:
- dns-internal

View File

@ -0,0 +1,9 @@
---
# Playbook to set up the servers
- name: Configure access and install work tools
hosts: all
become: yes
roles:
- tools
- users