From 6a824507ed2a22adc520829151f931ba5addd047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Mattm=C3=BCller?= Date: Tue, 9 May 2023 15:19:43 +0200 Subject: [PATCH] ansible.cfg,os-rls.yml: added configuration for files and fixed var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed variable in playbook os-rls.yml and added config file for the ansible file paths. Signed-off-by: Marc Mattmüller --- ansible.cfg | 4 ++++ playbooks/getting_started/os-rls.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ansible.cfg diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..1c16bf4 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,4 @@ +[defaults] +inventory = inventory/production.yaml +collections_paths = collections +roles_path = roles diff --git a/playbooks/getting_started/os-rls.yml b/playbooks/getting_started/os-rls.yml index d78f92b..cbcf326 100644 --- a/playbooks/getting_started/os-rls.yml +++ b/playbooks/getting_started/os-rls.yml @@ -6,6 +6,6 @@ tasks: - name: Get OS release Information - command: cat {{rls_info}} + command: cat {{rls_info_path}} - name: Get Host Name command: hostname