Files
kayobe/ansible/roles/inspection-store/defaults/main.yml
Will Szumski 988a822259 Add podman support
Adds support for Podman as an alternative container engine. This builds
on the support added in kolla-ansible in the 2023.2 cycle.

Change-Id: I2c6befbdda7e684228065103feea7250a0ea3826
2025-01-27 16:42:33 +00:00

40 lines
1.4 KiB
YAML

---
# Roughly follows kolla-ansible's service deployment patterns.
# Action to perform. One of 'deploy', 'destroy', 'pull', 'reconfigure',
# 'stop', 'upgrade'.
inspection_store_action: deploy
# Whether an inspection store is enabled.
inspection_store_enabled: true
# Service deployment definition.
inspection_store_services:
inspection_store:
container_name: inspection_store
enabled: "{{ inspection_store_enabled }}"
image: "{{ inspection_store_image_full }}"
network_mode: host
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "{{ inspection_store_config_path }}/nginx.conf:/etc/nginx/nginx.conf:ro"
- "inspection_store:/data"
# The port on which the inspection store server should listen.
inspection_store_port: 8080
# Path in which to store inspection store server configuration.
inspection_store_config_path: "/etc/inspection-store"
####################
# Inspection Store
####################
inspection_store_namespace: "library"
inspection_store: docker.io
inspection_store_image: "{{ inspection_store ~ '/' if inspection_store | default else '' }}{{ inspection_store_namespace ~ '/' if inspection_store_namespace else '' }}nginx"
inspection_store_tag: "stable"
inspection_store_image_full: "{{ inspection_store_image }}:{{ inspection_store_tag }}"
inspection_store_restart_policy: "unless-stopped"
#inspection_store_restart_retries: