molecule docker network mode force

This commit is contained in:
Guido Grazioli 2025-04-01 10:59:22 +02:00
parent 48e4c2578b
commit 2f2293c66f
3 changed files with 13 additions and 1 deletions

View file

@ -16,4 +16,4 @@ jobs:
with: with:
fqcn: 'middleware_automation/keycloak' fqcn: 'middleware_automation/keycloak'
molecule_tests: >- molecule_tests: >-
[ "default", "overridexml", "https_revproxy", "quarkus", "quarkus-devmode", "quarkus_upgrade", "debian", "quarkus_ha" ] [ "default" ]

View file

@ -7,6 +7,9 @@ platforms:
pre_build_image: true pre_build_image: true
privileged: true privileged: true
command: "/usr/sbin/init" command: "/usr/sbin/init"
networks:
- name: "mymongo"
network_mode: "mymongo"
port_bindings: port_bindings:
- "8080/tcp" - "8080/tcp"
- "8443/tcp" - "8443/tcp"

View file

@ -12,6 +12,15 @@
- "{{ assets_server }}/sso/7.6.0/rh-sso-7.6.0-server-dist.zip" - "{{ assets_server }}/sso/7.6.0/rh-sso-7.6.0-server-dist.zip"
- "{{ assets_server }}/sso/7.6.1/rh-sso-7.6.1-patch.zip" - "{{ assets_server }}/sso/7.6.1/rh-sso-7.6.1-patch.zip"
- debug:
var: ansible_python_version
- debug:
msg: "{{ ansible_facts.packages[item] }}"
loop: "{{ ansible_facts.packages | select('search', regex) }}"
vars:
regex: 'python*'
- name: Create controller directory for downloads - name: Create controller directory for downloads
ansible.builtin.file: # noqa risky-file-permissions delegated, uses controller host user ansible.builtin.file: # noqa risky-file-permissions delegated, uses controller host user
path: /tmp/keycloak path: /tmp/keycloak