feat: add dns management for alpine and debian
This commit is contained in:
parent
63d9880750
commit
0ba18a512f
4 changed files with 27 additions and 1 deletions
|
|
@ -11,6 +11,11 @@
|
|||
ansible.builtin.include_vars: "vars/{{ ansible_os_family }}.yaml"
|
||||
tags: "always"
|
||||
|
||||
# set dns
|
||||
- name: "set dns"
|
||||
ansible.builtin.import_tasks: "dns.yaml"
|
||||
tags: "dns"
|
||||
|
||||
# set hostname
|
||||
- name: "set hostname"
|
||||
ansible.builtin.import_tasks: "hostname.yaml"
|
||||
|
|
@ -46,7 +51,6 @@
|
|||
- "ansible_virtualization_type == 'kvm'"
|
||||
tags: "swap"
|
||||
|
||||
|
||||
# manage fstab
|
||||
- name: "manage fstab"
|
||||
ansible.builtin.import_tasks: "fstab.yaml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue