Probably I did not understand something, but I am not able to load any variables from roles I imported to foreman.
I copied one of my roles to /etc/ansible/roles.
My role usually looks like this:
add_system_2_backup.yml - main playbook that uses a role - I guess it should be created as Job template in Foreman
bacula dir - which contains
root@myhost:/etc/ansible/roles/bacula # ls -l razem 0 drwxr-xr-x. 2 root root 22 06-19 10:45 handlers drwxr-xr-x. 2 root root 23 06-25 13:16 tasks drwxr-xr-x. 2 root root 61 06-28 10:15 templates drwxrwxr-x. 2 root root 22 06-19 11:11 vars
I am able to import this bacula dir as a role, but import variables doesn’t import anything. Is my dir structure correct ? should my vars be configured in any special way ? How does it detect these variables?
Foreman and Proxy versions:
Foreman and Proxy plugin versions: