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