Replace 00-test-hosts play
This commit is contained in:
parent
c2d98fe242
commit
9843677655
@ -1,5 +1,2 @@
|
||||
[defaults]
|
||||
inventory = ./hosts
|
||||
|
||||
[privilege_escalation]
|
||||
become = True
|
||||
|
@ -1,9 +0,0 @@
|
||||
---
|
||||
- name: Configure hosts
|
||||
hosts: asgard
|
||||
|
||||
tasks:
|
||||
- import_tasks: tasks/hosts/sshd.yml
|
||||
- import_tasks: tasks/hosts/firewall.yml
|
||||
- import_tasks: tasks/hosts/utils.yml
|
||||
- import_tasks: tasks/hosts/root-shell.yml
|
@ -4,6 +4,7 @@
|
||||
roles:
|
||||
- role: "system_mail"
|
||||
tags: "role:system_mail"
|
||||
when: the_nine_worlds_production | bool
|
||||
- role: "system_base"
|
||||
tags: "role:system_base"
|
||||
vars:
|
||||
|
@ -1,3 +1,6 @@
|
||||
[all:vars]
|
||||
the_nine_worlds_production=true
|
||||
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
# Functionality.
|
||||
# --------------------------------------------------------------------------------------------------
|
40
testing
Normal file
40
testing
Normal file
@ -0,0 +1,40 @@
|
||||
heimdall ansible_host=heimdall-virt
|
||||
valkyrie ansible_host=valkyrie-virt
|
||||
yggdrasil ansible_host=yggdrasil-virt
|
||||
|
||||
[all:vars]
|
||||
the_nine_worlds_production=false
|
||||
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
# Functionality.
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
|
||||
# VPN entry-points.
|
||||
[bifrost]
|
||||
heimdall
|
||||
|
||||
# Service running hosts.
|
||||
[asgard]
|
||||
valkyrie
|
||||
yggdrasil
|
||||
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
# Network.
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
|
||||
# Hosts physically located within the home LAN.
|
||||
[home]
|
||||
heimdall
|
||||
yggdrasil
|
||||
|
||||
# Hosts remote to the home LAN.
|
||||
[remote]
|
||||
valkyrie
|
||||
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
# Special.
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
|
||||
# Hosts running with ZFS.
|
||||
[zfs]
|
||||
yggdrasil
|
Loading…
Reference in New Issue
Block a user