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:
parent
ea59c88fe0
commit
6a824507ed
|
|
@ -0,0 +1,4 @@
|
||||||
|
[defaults]
|
||||||
|
inventory = inventory/production.yaml
|
||||||
|
collections_paths = collections
|
||||||
|
roles_path = roles
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue