ansible.cfg,os-rls.yml: added configuration for files and fixed var

fixed variable in playbook os-rls.yml and added config file for
the ansible file paths.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmüller 2023-05-09 15:19:43 +02:00
parent ea59c88fe0
commit 6a824507ed
2 changed files with 5 additions and 1 deletions

4
ansible.cfg Normal file
View File

@ -0,0 +1,4 @@
[defaults]
inventory = inventory/production.yaml
collections_paths = collections
roles_path = roles

View File

@ -6,6 +6,6 @@
tasks: tasks:
- name: Get OS release Information - name: Get OS release Information
command: cat {{rls_info}} command: cat {{rls_info_path}}
- name: Get Host Name - name: Get Host Name
command: hostname command: hostname