Skip to content
Snippets Groups Projects
Commit 8dd36c28 authored by Pietsch, Martin's avatar Pietsch, Martin
Browse files

bugfix: replace variable hostname by inventory_hostname

parent 3c27c345
No related branches found
No related tags found
No related merge requests found
{% set hostobj = hostvars[hostname] %}
{% set hostobj = hostvars[inventory_hostname] %}
export DISTRIBUTION="{{ hostobj.os.distribution }}"
export RELEASE="{{ hostobj.os.release }}"
export ARCH="{{ hostobj.os.architecture }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment