You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
467 B
YAML
23 lines
467 B
YAML
---
|
|
|
|
|
|
- name: create netbox directory
|
|
file:
|
|
path: "{{ netbox.conf.base_dir }}/env"
|
|
state: directory
|
|
recurse: true
|
|
notify: install required packages
|
|
|
|
- name: update environment files
|
|
template:
|
|
src: "{{ item }}.j2"
|
|
dest: "{{ netbox.conf.base_dir }}/{{ item }}"
|
|
loop:
|
|
- env/netbox.env
|
|
- env/postgres.env
|
|
- env/redis.env
|
|
- env/redis-cache.env
|
|
- docker-compose.yml
|
|
- docker-compose.override.yml
|
|
notify: restart netbox
|