ansible/playbooks/site_pre.yml

19 lines
667 B
YAML
Executable File

#!/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
# Platform configuration
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'platforms_*.yml') }}"
# Manufacturer configuration
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'manufacturers_*.yml') }}"
# Tags for fundamental services
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'tags_.yml') }}"
# Role (in the Netbox sense) configuration
- import_playbook: "{{ item }}"
loop: "{{ lookup('fileglob' 'device_roles_*.yml') }}"