Ansible automation to install parts of the workshop components
Subscribe your RHEL host:
subscription-manager register
# get pool id via:
# subscription-manager list --available
subscription-manager attach [--auto] --pool=...
subscription-manager repos --disable=*
subscription-manager repos \
--enable=rhel-8-for-x86_64-baseos-rpms \
--enable=rhel-8-for-x86_64-appstream-rpms \
--enable=rhel-8-for-x86_64-highavailability-rpms \
--enable=ansible-automation-platform-2.1-for-rhel-8-x86_64-rpms
yum install -y ansible-navigator git podman
Ansible navigator installation based on the upstream documentation.
dnf install -y python3-pip podman git
python3 -m pip install ansible-navigator --user
echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.profile
source ~/.profile
You are now ready to clone this project to your CentOS or RHEL system.
git clone https://github.com/devsecops-workshop/setup-automation.git
cd setup-automation
ansible-navigator run -m stdout ansible/setup.yml
ansible-builder build \
--container-runtime podman \
--tag quay.io/sifa/devsecops-workshop:devel
podman push quay.io/sifa/devsecops-workshop:devel