Delete task Enable and start bind9 in main.yml and errors in tasks names have been corrected

This commit is contained in:
2026-08-30 00:47:37 +03:00
parent c76f61cefe
commit 8acb71961b
2 changed files with 4 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
- name: "Configure wireguard server"
ansible.builtin.include_tasks: configure_wireguard_server.yml
- name: "Create client dirrectory"
- name: "Create client directory"
ansible.builtin.file:
path: "{{ wireguard_client_config_dir }}"
state: directory
@@ -30,7 +30,7 @@
mode: '0600'
notify: "restart wireguard"
- name: "Confiugre bind9"
- name: "Configure bind9"
tags: bind9
ansible.builtin.include_tasks: configure_bind9.yml
@@ -50,10 +50,4 @@
ansible.builtin.systemd:
name: "bind9"
state: started
enabled: yes
- name: "Enable and start named"
ansible.builtin.systemd:
name: "named"
state: started
enabled: yes
enabled: yes