Enable the Ansible sample in a restricted environment

Enable the Ansible getting-started sample in a restricted OpenShift Dev Spaces environment by mirroring the required container images and allowing access to the Ansible Galaxy domains.

Before you begin

  • You have Microsoft Visual Studio Code - Open Source IDE as the configured editor.
  • You have a 64-bit x86 system.

Procedure

  1. Mirror the following images:
    ghcr.io/ansible/ansible-devspaces@sha256:d7711d5205a89c0c2b71d0937d70916feabcda343b7522da6413aa762b506c65
    registry.access.redhat.com/ubi8/python-39@sha256:301fec66443f80c3cc507ccaf72319052db5a1dc56deb55c8f169011d4bbaacb
  2. Configure the cluster proxy to allow access to the following domains:
    .ansible.com
    .ansible-galaxy-ng.s3.dualstack.us-east-1.amazonaws.com
    Note:

    Support for the following IDE and CPU architectures is planned for a future release:

    • CPU architectures
      • IBM Power (ppc64le)
      • IBM Z (s390x)

Results

  • Verify that the mirrored images are accessible from the OpenShift cluster.