move roles, files and templates dirs out of playbook dir into root dir
All checks were successful
/ Ansible Lint (push) Successful in 1m38s
All checks were successful
/ Ansible Lint (push) Successful in 1m38s
Because of how Ansible local relative search paths work, the global "files" and "templates" directories need to be next to the playbooks. However its not intuitive to look into the "playbooks" directory to find the files and templates for a host. Therefore move them out of the "playbooks" directory into the root directory and add symlinks so everything still works. Similarly for local roles, they also need to be next to the playbooks. So for a nicer structure, move the "roles" directory out into the root directory as well and add a symlink so everything still works. Also see: https://docs.ansible.com/ansible/latest/playbook_guide/playbook_pathing.html#resolving-local-relative-paths https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#storing-and-finding-roles
This commit is contained in:
parent
fab4942852
commit
5bb283d5e7
147 changed files with 3 additions and 0 deletions
14
files/z9/configs/light/nginx/http_handler.conf
Normal file
14
files/z9/configs/light/nginx/http_handler.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name _;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
autoindex on;
|
||||
root /webroot-for-acme-challenge;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
65
files/z9/configs/light/nginx/light.conf
Normal file
65
files/z9/configs/light/nginx/light.conf
Normal file
|
@ -0,0 +1,65 @@
|
|||
# partly generated 2022-01-08, Mozilla Guideline v5.6, nginx 1.17.7, OpenSSL 1.1.1k, intermediate configuration
|
||||
# https://ssl-config.mozilla.org/#server=nginx&version=1.17.7&config=intermediate&openssl=1.1.1k&guideline=5.6
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name light-werkstatt.ccchh.net;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/light.ccchh.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/light.ccchh.net/privkey.pem;
|
||||
# verify chain of trust of OCSP response using Root CA and Intermediate certs
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/light.ccchh.net/chain.pem;
|
||||
|
||||
# replace with the IP address of your resolver
|
||||
resolver 10.31.208.1;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8081;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# This is https in any case.
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name light.z9.ccchh.net ;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/light.ccchh.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/light.ccchh.net/privkey.pem;
|
||||
# verify chain of trust of OCSP response using Root CA and Intermediate certs
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/light.ccchh.net/chain.pem;
|
||||
|
||||
location / {
|
||||
return 307 https://light.ccchh.net$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name light.ccchh.net;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/light.ccchh.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/light.ccchh.net/privkey.pem;
|
||||
# verify chain of trust of OCSP response using Root CA and Intermediate certs
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/light.ccchh.net/chain.pem;
|
||||
|
||||
# replace with the IP address of your resolver
|
||||
resolver 10.31.208.1;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# This is https in any case.
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
}
|
||||
}
|
10
files/z9/configs/light/ola/ola-artnet.conf
Normal file
10
files/z9/configs/light/ola/ola-artnet.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
always_broadcast = false
|
||||
enabled = true
|
||||
ip =
|
||||
long_name = OLA - ArtNet node
|
||||
net = 0
|
||||
output_ports = 4
|
||||
short_name = OLA - ArtNet node
|
||||
subnet = 0
|
||||
use_limited_broadcast = false
|
||||
use_loopback = false
|
9
files/z9/configs/light/ola/ola-dummy.conf
Normal file
9
files/z9/configs/light/ola/ola-dummy.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
ack_timer_count = 0
|
||||
advanced_dimmer_count = 1
|
||||
dimmer_count = 1
|
||||
dimmer_subdevice_count = 4
|
||||
dummy_device_count = 1
|
||||
enabled = false
|
||||
moving_light_count = 1
|
||||
network_device_count = 1
|
||||
sensor_device_count = 1
|
10
files/z9/configs/light/ola/ola-e131.conf
Normal file
10
files/z9/configs/light/ola/ola-e131.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
cid = 4ff3f64a-e2de-43e5-847f-d4daad6cb63b
|
||||
draft_discovery = false
|
||||
dscp = 0
|
||||
enabled = false
|
||||
ignore_preview = true
|
||||
input_ports = 5
|
||||
ip =
|
||||
output_ports = 5
|
||||
prepend_hostname = true
|
||||
revision = 0.46
|
3
files/z9/configs/light/ola/ola-espnet.conf
Normal file
3
files/z9/configs/light/ola/ola-espnet.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
enabled = false
|
||||
ip =
|
||||
name = ola-EspNet
|
2
files/z9/configs/light/ola/ola-ftdidmx.conf
Normal file
2
files/z9/configs/light/ola/ola-ftdidmx.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
enabled = true
|
||||
frequency = 30
|
5
files/z9/configs/light/ola/ola-gpio.conf
Normal file
5
files/z9/configs/light/ola/ola-gpio.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
enabled = false
|
||||
gpio_pins =
|
||||
gpio_slot_offset = 1
|
||||
gpio_turn_off = 127
|
||||
gpio_turn_on = 128
|
2
files/z9/configs/light/ola/ola-karate.conf
Normal file
2
files/z9/configs/light/ola/ola-karate.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
device = /dev/kldmx0
|
||||
enabled = false
|
2
files/z9/configs/light/ola/ola-kinet.conf
Normal file
2
files/z9/configs/light/ola/ola-kinet.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
enabled = false
|
||||
power_supply =
|
2
files/z9/configs/light/ola/ola-milinst.conf
Normal file
2
files/z9/configs/light/ola/ola-milinst.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
device =
|
||||
enabled = false
|
2
files/z9/configs/light/ola/ola-opendmx.conf
Normal file
2
files/z9/configs/light/ola/ola-opendmx.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
device = /dev/dmx0
|
||||
enabled = false
|
1
files/z9/configs/light/ola/ola-openpixelcontrol.conf
Normal file
1
files/z9/configs/light/ola/ola-openpixelcontrol.conf
Normal file
|
@ -0,0 +1 @@
|
|||
enabled = false
|
19
files/z9/configs/light/ola/ola-osc.conf
Normal file
19
files/z9/configs/light/ola/ola-osc.conf
Normal file
|
@ -0,0 +1,19 @@
|
|||
enabled = false
|
||||
input_ports = 5
|
||||
output_ports = 5
|
||||
port_0_address = /dmx/universe/%d
|
||||
port_0_output_format = blob
|
||||
port_0_targets =
|
||||
port_1_address = /dmx/universe/%d
|
||||
port_1_output_format = blob
|
||||
port_1_targets =
|
||||
port_2_address = /dmx/universe/%d
|
||||
port_2_output_format = blob
|
||||
port_2_targets =
|
||||
port_3_address = /dmx/universe/%d
|
||||
port_3_output_format = blob
|
||||
port_3_targets =
|
||||
port_4_address = /dmx/universe/%d
|
||||
port_4_output_format = blob
|
||||
port_4_targets =
|
||||
udp_listen_port = 7770
|
5
files/z9/configs/light/ola/ola-pathport.conf
Normal file
5
files/z9/configs/light/ola/ola-pathport.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
dscp = 0
|
||||
enabled = false
|
||||
ip =
|
||||
name = ola-Pathport
|
||||
node-id = 672065429
|
60
files/z9/configs/light/ola/ola-port.conf
Normal file
60
files/z9/configs/light/ola/ola-port.conf
Normal file
|
@ -0,0 +1,60 @@
|
|||
11-1-I-0_priority_mode = 0
|
||||
11-1-I-0_priority_value = 100
|
||||
11-1-I-1_priority_mode = 0
|
||||
11-1-I-1_priority_value = 100
|
||||
11-1-I-2_priority_mode = 0
|
||||
11-1-I-2_priority_value = 100
|
||||
11-1-I-3_priority_mode = 0
|
||||
11-1-I-3_priority_value = 100
|
||||
11-1-I-4_priority_mode = 0
|
||||
11-1-I-4_priority_value = 100
|
||||
11-1-O-0_priority_mode = 0
|
||||
11-1-O-0_priority_value = 100
|
||||
11-1-O-1_priority_mode = 0
|
||||
11-1-O-1_priority_value = 100
|
||||
11-1-O-2_priority_mode = 0
|
||||
11-1-O-2_priority_value = 100
|
||||
11-1-O-3_priority_mode = 0
|
||||
11-1-O-3_priority_value = 100
|
||||
11-1-O-4_priority_mode = 0
|
||||
11-1-O-4_priority_value = 100
|
||||
13-A60300JF-O-1 = 1
|
||||
14-1-I-0_priority_value = 100
|
||||
14-1-I-1_priority_value = 100
|
||||
14-1-I-2_priority_value = 100
|
||||
14-1-I-3_priority_value = 100
|
||||
14-1-I-4_priority_value = 100
|
||||
2-1-I-0 = 1
|
||||
2-1-I-0_priority_value = 100
|
||||
2-1-I-1_priority_value = 100
|
||||
2-1-I-2_priority_value = 100
|
||||
2-1-I-3_priority_value = 100
|
||||
3-1-I-0_priority_value = 100
|
||||
3-1-I-1_priority_value = 100
|
||||
3-1-I-2_priority_value = 100
|
||||
3-1-I-3_priority_value = 100
|
||||
3-1-I-4_priority_value = 100
|
||||
3-1-I-5_priority_value = 100
|
||||
3-1-I-6_priority_value = 100
|
||||
3-1-I-7_priority_value = 100
|
||||
4-1-I-0_priority_value = 100
|
||||
4-1-I-1_priority_value = 100
|
||||
4-1-I-2_priority_value = 100
|
||||
4-1-I-3_priority_value = 100
|
||||
4-1-I-4_priority_value = 100
|
||||
7-1-I-0_priority_value = 100
|
||||
7-1-I-1_priority_value = 100
|
||||
7-1-I-2_priority_value = 100
|
||||
7-1-I-3_priority_value = 100
|
||||
7-1-I-4_priority_value = 100
|
||||
7-1-I-5_priority_value = 100
|
||||
7-1-I-6_priority_value = 100
|
||||
7-1-I-7_priority_value = 100
|
||||
9-1-I-0_priority_value = 100
|
||||
9-1-I-1_priority_value = 100
|
||||
9-1-I-2_priority_value = 100
|
||||
9-1-I-3_priority_value = 100
|
||||
9-1-I-4_priority_value = 100
|
||||
9-1-I-5_priority_value = 100
|
||||
9-1-I-6_priority_value = 100
|
||||
9-1-I-7_priority_value = 100
|
2
files/z9/configs/light/ola/ola-renard.conf
Normal file
2
files/z9/configs/light/ola/ola-renard.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
device =
|
||||
enabled = false
|
3
files/z9/configs/light/ola/ola-sandnet.conf
Normal file
3
files/z9/configs/light/ola/ola-sandnet.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
enabled = false
|
||||
ip =
|
||||
name = ola-SandNet
|
1
files/z9/configs/light/ola/ola-server.conf
Normal file
1
files/z9/configs/light/ola/ola-server.conf
Normal file
|
@ -0,0 +1 @@
|
|||
instance-name = OLA Server
|
3
files/z9/configs/light/ola/ola-shownet.conf
Normal file
3
files/z9/configs/light/ola/ola-shownet.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
enabled = false
|
||||
ip =
|
||||
name = ola-ShowNet
|
3
files/z9/configs/light/ola/ola-spi.conf
Normal file
3
files/z9/configs/light/ola/ola-spi.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
base_uid = 7a70:00000100
|
||||
device_prefix = spidev
|
||||
enabled = false
|
2
files/z9/configs/light/ola/ola-stageprofi.conf
Normal file
2
files/z9/configs/light/ola/ola-stageprofi.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
device = /dev/ttyUSB0
|
||||
enabled = false
|
2
files/z9/configs/light/ola/ola-uartdmx.conf
Normal file
2
files/z9/configs/light/ola/ola-uartdmx.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
device = /dev/ttyACM0
|
||||
enabled = false
|
2
files/z9/configs/light/ola/ola-universe.conf
Normal file
2
files/z9/configs/light/ola/ola-universe.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
uni_1_merge = LTP
|
||||
uni_1_name = Universe 1
|
2
files/z9/configs/light/ola/ola-usbdmx.conf
Normal file
2
files/z9/configs/light/ola/ola-usbdmx.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
enabled = false
|
||||
libusb_debug_level = 0
|
8
files/z9/configs/light/ola/ola-usbserial.conf
Normal file
8
files/z9/configs/light/ola/ola-usbserial.conf
Normal file
|
@ -0,0 +1,8 @@
|
|||
device_dir = /dev
|
||||
device_prefix = ttyUSB
|
||||
device_prefix = cu.usbserial-
|
||||
device_prefix = ttyU
|
||||
enabled = false
|
||||
pro_fps_limit = 190
|
||||
tri_use_raw_rdm = false
|
||||
ultra_fps_limit = 40
|
Loading…
Add table
Add a link
Reference in a new issue