Install dns-root-data before unbound
Since unbound refuses to start before dns-root-data is installed, install it first. Change-Id: I78f42c217b2627bf3108ac4b13d437bb03857222
This commit is contained in:
parent
d1e6ca724c
commit
2d4103c521
@ -5,17 +5,17 @@
|
|||||||
files: "{{ distro_lookup_path }}"
|
files: "{{ distro_lookup_path }}"
|
||||||
loop: "{{ query('first_found', params, errors='ignore') }}"
|
loop: "{{ query('first_found', params, errors='ignore') }}"
|
||||||
|
|
||||||
- name: Install unbound
|
|
||||||
package:
|
|
||||||
state: present
|
|
||||||
name: unbound
|
|
||||||
|
|
||||||
- name: Install dns-root-data on Noble
|
- name: Install dns-root-data on Noble
|
||||||
package:
|
package:
|
||||||
state: present
|
state: present
|
||||||
name: dns-root-data
|
name: dns-root-data
|
||||||
when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 24
|
when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 24
|
||||||
|
|
||||||
|
- name: Install unbound
|
||||||
|
package:
|
||||||
|
state: present
|
||||||
|
name: unbound
|
||||||
|
|
||||||
- name: Write dhclient config files
|
- name: Write dhclient config files
|
||||||
include_tasks: dhclient.yaml
|
include_tasks: dhclient.yaml
|
||||||
loop:
|
loop:
|
||||||
|
Loading…
Reference in New Issue
Block a user