Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
IPvSean committed Jan 16, 2025
1 parent b6342c4 commit 39b555c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions provisioner/group_vars/all/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ f5_ee: "quay.io/acme_corp/f5_ee:latest"
security_ee: "quay.io/acme_corp/security_ee:latest"
rhel_ee: "registry.redhat.io/ansible-automation-platform-23/ee-supported-rhel8:1.0.0-208"
network_ee: "quay.io/acme_corp/network-ee:latest"
network_ee_backup: "public.ecr.aws/v5m3b2e6/acme_corp/network-ee:latest"
rhel_90_ee: "quay.io/acme_corp/rhel_90_ee:latest"
windows_ee: "quay.io/acme_corp/windows_ee:latest"
smart_mgmt_ee: "quay.io/s4v0/ee-automated-smart-mgmt-29:latest"
Expand Down
19 changes: 15 additions & 4 deletions roles/control_node_always/tasks/20_workshop_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,23 @@
dest: "/etc/ansible/ansible.cfg"
mode: '0644'

# # Pull specific EE for each workshop based on workshop name
# - name: Pull execution environment for {{ workshop_type }}
# become: true
# become_user: "{{ username }}"
# containers.podman.podman_image:
# name: "{{ lookup('vars', workshop_type + '_ee') }}"
# register: podman_pull
# until: podman_pull is not failed
# retries: 5

# Pull specific EE for each workshop based on workshop name
- name: Pull execution environment for {{ workshop_type }}
become: true
become_user: "{{ username }}"
- name: Pull the first available execution environment for {{ workshop_type }}
containers.podman.podman_image:
name: "{{ lookup('vars', workshop_type + '_ee') }}"
name: "{{ item }}"
with_first_found:
- "{{ lookup('vars', workshop_type + '_ee') }}"
- "{{ lookup('vars', workshop_type + '_ee_backup') }}"
register: podman_pull
until: podman_pull is not failed
retries: 5

0 comments on commit 39b555c

Please sign in to comment.