ansible/playbooks/site_pre.yml

22 lines
785 B
YAML
Raw Normal View History

2022-03-07 10:46:02 -06:00
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
# Preambulatory system configuration
# It's implicit that configuration here MUST preceed site_main.yml
- import_playbook: all.yml
# Device type configuration
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'device_types_*.yml') }}"
2022-03-07 10:46:02 -06:00
# Platform configuration
2022-04-18 11:12:48 -05:00
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'platforms_*.yml') }}"
2022-03-07 10:46:02 -06:00
# Manufacturer configuration
2022-04-18 11:12:48 -05:00
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'manufacturers_*.yml') }}"
2022-03-07 10:46:02 -06:00
# Tags for fundamental services
2022-04-18 11:12:48 -05:00
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'tags_.yml') }}"
2022-03-07 10:46:02 -06:00
# Role (in the Netbox sense) configuration
2022-04-18 11:12:48 -05:00
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'device_roles_*.yml') }}"