Move variable to host_vars and use fully qualified lookup plugin name
This commit is contained in:
parent
7a93546616
commit
75408d8926
2 changed files with 26 additions and 27 deletions
|
@ -1,52 +1,53 @@
|
|||
ola__configs:
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-dummy.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-dummy.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-espnet.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-espnet.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-gpio.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-gpio.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-kinet.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-kinet.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-opendmx.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-opendmx.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-osc.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-osc.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-port.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-port.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-sandnet.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-sandnet.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-shownet.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-shownet.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-stageprofi.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-stageprofi.conf') }}"
|
||||
- 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
|
||||
content: "{{ lookup('file', 'configs/light/ola/ola-universe.conf') }}"
|
||||
content: "{{ lookup('ansible.builtin.file', 'configs/light/ola/ola-universe.conf') }}"
|
||||
- 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
|
||||
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:
|
||||
- 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
|
||||
- foobazdmx
|
||||
- nginx
|
||||
vars:
|
||||
foobazdmx__art_net_host: localhost
|
||||
|
|
Loading…
Reference in a new issue