Variable Inheritance?

8 views
Skip to first unread message

str...@gmail.com

unread,
Feb 29, 2016, 3:09:29 PM2/29/16
to Ansible Project
Hi everyone,

i am searching the docs but couldn't find a good reference...

Is ther a way to inherit/extend variables from group_vars -> host_vars?

E.g.:
group_vars/develop.yml
groups:
  web:
    gid: 1002
    state: present

host_vars/host1.yml
groups:
  sys:
    gid: 1001
    state: present

Now i would like to have both groups on host1 and not only group sys...?

regards,
strowi

Reply all
Reply to author
Forward
Message has been deleted
0 new messages