prepare nameserver again

This commit is contained in:
2022-02-23 21:58:23 +01:00
parent c37f55d380
commit 5a75bf3b2a
7 changed files with 36 additions and 11 deletions

View File

@@ -0,0 +1,4 @@
- name: nameserver | install packages
package:
name: "{{ bind_package }}"
state: present

View File

@@ -0,0 +1,17 @@
# Load distro-specific variables
- include_vars: "{{ ansible_distribution }}.yml"
tags: always
- block:
- debug:
msg: Debug
# # import role
# - import_role:
# name: # required. The name of the role to be executed.
# install software
- include_tasks: install_bind.yml
rescue:
- set_fact: task_failed=true

View File

@@ -0,0 +1 @@
bind_package: bind

View File

@@ -0,0 +1 @@
bind_package: bind9

View File

@@ -0,0 +1 @@
bind_package: bind9