mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-22 07:00:33 +00:00
Since the molecule jobs moved to self-hosted container runners, molecule talks to a Docker daemon that does not share the runner's filesystem or network namespace: - quarkus_ha*: drop the postgresql.conf bind mount (the workspace path does not exist on the daemon side) and pass listen_addresses via -c - quarkus, quarkus_devmode: fetch the openid configuration from the instance with ansible.builtin.uri instead of curl | jq on the runner, and drop the fixed host published_ports that are no longer needed - quarkus_nohost: add the missing roles symlink Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
77 lines
1.6 KiB
YAML
77 lines
1.6 KiB
YAML
---
|
|
driver:
|
|
name: docker
|
|
platforms:
|
|
- name: keycloak1
|
|
image: registry.access.redhat.com/ubi9/ubi-init:latest
|
|
pre_build_image: true
|
|
privileged: true
|
|
command: "/usr/sbin/init"
|
|
groups:
|
|
- keycloak
|
|
networks:
|
|
- name: rhbk
|
|
exposed_ports:
|
|
- "8080/tcp"
|
|
- "8443/tcp"
|
|
- "9000/tcp"
|
|
- name: infinispan1
|
|
image: registry.access.redhat.com/ubi9/ubi-init:latest
|
|
pre_build_image: true
|
|
privileged: true
|
|
command: "/usr/sbin/init"
|
|
groups:
|
|
- infinispan
|
|
networks:
|
|
- name: rhbk
|
|
exposed_ports:
|
|
- "11222/tcp"
|
|
- name: postgres
|
|
image: ubuntu/postgres:14-22.04_beta
|
|
pre_build_image: true
|
|
privileged: true
|
|
command: "postgres -c listen_addresses=*"
|
|
groups:
|
|
- database
|
|
networks:
|
|
- name: rhbk
|
|
exposed_ports:
|
|
- "5432/tcp"
|
|
env:
|
|
POSTGRES_USER: keycloak
|
|
POSTGRES_PASSWORD: mysecretpass
|
|
POSTGRES_DB: keycloak
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
provisioner:
|
|
name: ansible
|
|
config_options:
|
|
defaults:
|
|
interpreter_python: auto_silent
|
|
ssh_connection:
|
|
pipelining: false
|
|
playbooks:
|
|
prepare: prepare.yml
|
|
converge: converge.yml
|
|
verify: verify.yml
|
|
inventory:
|
|
host_vars:
|
|
localhost:
|
|
ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
|
env:
|
|
ANSIBLE_FORCE_COLOR: "true"
|
|
PYTHONHTTPSVERIFY: 0
|
|
verifier:
|
|
name: ansible
|
|
scenario:
|
|
test_sequence:
|
|
- cleanup
|
|
- destroy
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- idempotence
|
|
- side_effect
|
|
- verify
|
|
- cleanup
|
|
- destroy
|