Move variable to host_vars and use fully qualified lookup plugin name
This commit is contained in:
parent
7a93546616
commit
75408d8926
|
@ -1,52 +1,53 @@
|
||||||
ola__configs:
|
ola__configs:
|
||||||
- name: ola-artnet
|
- name: ola-artnet
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-artnet.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-artnet.conf') }}"
|
||||||
- name: ola-dummy
|
- name: ola-dummy
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-dummy.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-dummy.conf') }}"
|
||||||
- name: ola-e131
|
- name: ola-e131
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-e131.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-e131.conf') }}"
|
||||||
- name: ola-espnet
|
- name: ola-espnet
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-espnet.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-espnet.conf') }}"
|
||||||
- name: ola-ftdidmx
|
- name: ola-ftdidmx
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-ftdidmx.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-ftdidmx.conf') }}"
|
||||||
- name: ola-gpio
|
- name: ola-gpio
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-gpio.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-gpio.conf') }}"
|
||||||
- name: ola-karate
|
- name: ola-karate
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-karate.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-karate.conf') }}"
|
||||||
- name: ola-kinet
|
- name: ola-kinet
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-kinet.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-kinet.conf') }}"
|
||||||
- name: ola-milinst
|
- name: ola-milinst
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-milinst.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-milinst.conf') }}"
|
||||||
- name: ola-opendmx
|
- name: ola-opendmx
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-opendmx.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-opendmx.conf') }}"
|
||||||
- name: ola-openpixelcontrol
|
- name: ola-openpixelcontrol
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-openpixelcontrol.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-openpixelcontrol.conf') }}"
|
||||||
- name: ola-osc
|
- name: ola-osc
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-osc.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-osc.conf') }}"
|
||||||
- name: ola-pathport
|
- name: ola-pathport
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-pathport.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-pathport.conf') }}"
|
||||||
- name: ola-port
|
- name: ola-port
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-port.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-port.conf') }}"
|
||||||
- name: ola-renard
|
- name: ola-renard
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-renard.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-renard.conf') }}"
|
||||||
- name: ola-sandnet
|
- name: ola-sandnet
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-sandnet.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-sandnet.conf') }}"
|
||||||
- name: ola-server
|
- name: ola-server
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-server.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-server.conf') }}"
|
||||||
- name: ola-shownet
|
- name: ola-shownet
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-shownet.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-shownet.conf') }}"
|
||||||
- name: ola-spi
|
- name: ola-spi
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-spi.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-spi.conf') }}"
|
||||||
- name: ola-stageprofi
|
- name: ola-stageprofi
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-stageprofi.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-stageprofi.conf') }}"
|
||||||
- name: ola-uartdmx
|
- name: ola-uartdmx
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-uartdmx.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-uartdmx.conf') }}"
|
||||||
- name: ola-universe
|
- name: ola-universe
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-universe.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-universe.conf') }}"
|
||||||
- name: ola-usbdmx
|
- name: ola-usbdmx
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-usbdmx.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-usbdmx.conf') }}"
|
||||||
- name: ola-usbserial
|
- name: ola-usbserial
|
||||||
content: "{{ lookup('file', 'configs/light/ola/ola-usbserial.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-usbserial.conf') }}"
|
||||||
|
foobazdmx__art_net_host: localhost
|
||||||
nginx__configs:
|
nginx__configs:
|
||||||
- name: foobazdmx
|
- name: foobazdmx
|
||||||
content: "{{ lookup('file', 'configs/light/nginx/foobazdmx.conf') }}"
|
content: "{{ lookup('ansible.builtin.file', 'configs/light/nginx/foobazdmx.conf') }}"
|
||||||
|
|
|
@ -6,5 +6,3 @@
|
||||||
- ola
|
- ola
|
||||||
- foobazdmx
|
- foobazdmx
|
||||||
- nginx
|
- nginx
|
||||||
vars:
|
|
||||||
foobazdmx__art_net_host: localhost
|
|
||||||
|
|
Loading…
Reference in a new issue