From b02cd085e84d9a91245095b8f1a3b2437674d093 Mon Sep 17 00:00:00 2001 From: rubenb Date: Wed, 14 Feb 2024 17:02:22 +0100 Subject: [PATCH] playbook config-resolv role --- linux-config-resolv.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 linux-config-resolv.yaml diff --git a/linux-config-resolv.yaml b/linux-config-resolv.yaml new file mode 100644 index 0000000..1c0e425 --- /dev/null +++ b/linux-config-resolv.yaml @@ -0,0 +1,12 @@ +--- + +- hosts: '{{ ip_addr }}' + become: yes + become_method: sudo + gather_facts: yes + + tasks: + + - name: "[CONFIG RESOLV FILE] Configure resolv file" + import_role: + name: config-resolv