saltyorg / Sandbox

Saltbox Sandbox
GNU General Public License v3.0
71 stars 97 forks source link

Traefik3 #223

Closed RaneyDazed closed 1 year ago

RaneyDazed commented 1 year ago

Description

For existing roles, please include a summary of the change and which issue is fixed if any. Please also include relevant motivation and context. List any dependencies that are required for this change.

Removed the devices entry from defaults/main.yml, and added:

- name: Docker Devices Task
  ansible.builtin.include_tasks: "{{ resources_tasks_path }}/docker/set_docker_devices_variable.yml"
  when: gpu.intel or gpu.nvidia

to tasks/main.yml

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
I tested the changes on my tempest saltbox server I have running for no reason. Works well, photoprism didn't display any errors running the role, container doesn't display any errors in the logs, and the web UI displays fine and doesn't show any errors either.

RaneyDazed commented 1 year ago

Yup I found it. Removed the space