From 076c178a0c8df88e08e44401bcb491705c50b099 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Sat, 3 Dec 2022 15:16:51 +0100 Subject: [PATCH] added hostname playbook --- hostname.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hostname.yml diff --git a/hostname.yml b/hostname.yml new file mode 100644 index 0000000..c6662db --- /dev/null +++ b/hostname.yml @@ -0,0 +1,10 @@ +--- +- hosts: all + become: true + tasks: + - name: Import related variables + ansible.builtin.include_vars: + file: hostname.yml + - import_tasks: tasks/debian-general/hostname.yml + - import_tasks: tasks/debian-general/resolv-conf.yml + - import_tasks: tasks/debian-general/hosts-file.yml