From 46159921baec1225a56c533c376bfa51edd9f7ba Mon Sep 17 00:00:00 2001 From: rubenb Date: Tue, 19 Dec 2023 15:52:18 +0100 Subject: [PATCH] update quotes hosts var in playbook --- linux-config-tzdata.yaml | 2 +- linux-config-update-and-upgrade-packages.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-config-tzdata.yaml b/linux-config-tzdata.yaml index 9c6be4d..94b50bf 100644 --- a/linux-config-tzdata.yaml +++ b/linux-config-tzdata.yaml @@ -1,6 +1,6 @@ --- -- hosts: "{{ ip_addr }}" +- hosts: '{{ ip_addr }}' become: yes become_method: sudo gather_facts: yes diff --git a/linux-config-update-and-upgrade-packages.yaml b/linux-config-update-and-upgrade-packages.yaml index 3c77840..ab359bc 100644 --- a/linux-config-update-and-upgrade-packages.yaml +++ b/linux-config-update-and-upgrade-packages.yaml @@ -1,6 +1,6 @@ --- -- hosts: "{{ ip_addr }}" +- hosts: '{{ ip_addr }}' become: yes become_method: sudo gather_facts: yes