updated netboxinventory state
This commit is contained in:
parent
4518388841
commit
ed13a53830
@ -12,6 +12,8 @@ netbox.create_site_{{ salt['grains.get']('location') }}:
|
||||
{%- endif %}
|
||||
|
||||
{%- if salt['netbox.get'](app='dcim', endpoint='device-roles', name=salt['grains.get']('type')) == {} %}
|
||||
"{{ salt['netbox.get'](app='dcim', endpoint='sites', name='nurnberg')}}"
|
||||
"{{ salt['netbox.get'](app='dcim', endpoint='device-roles', name='front')}}"
|
||||
netbox.create_device_role_{{ salt['grains.get']('type') }}:
|
||||
module.run:
|
||||
- name: netbox.create_device_role
|
||||
|
Loading…
Reference in New Issue
Block a user