From 770758cb4d00525ceae2333c602ef53c89603b9a Mon Sep 17 00:00:00 2001 From: Egon Rijpkema Date: Fri, 8 Jul 2022 15:04:12 +0200 Subject: [PATCH] Another dirty playbook. --- hugin_in_etc_hosts.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hugin_in_etc_hosts.yml diff --git a/hugin_in_etc_hosts.yml b/hugin_in_etc_hosts.yml new file mode 100644 index 0000000..1b9f9a4 --- /dev/null +++ b/hugin_in_etc_hosts.yml @@ -0,0 +1,9 @@ +--- +- hosts: localhost + tasks: + - name: Add hugin to /etc/hosts + ansible.builtin.lineinfile: + line: '195.169.22.139 hugin' + path: /etc/hosts + state: present + delegate_to: 127.0.0.1