Exercise 3.3 - Create new template to stage containers on edge node

Return to Workshop

Exercise 3.3 - Configure podman, systemd, and pull a container from OpenShift

Configure new template to field containers to edge node

Select Templates

tower templates select
Templates tab - Left hand side of screen

Select the + sign to add a new template; then select Job Template

tower templates plus
Add Job Template

NAME

Field container to edge node - user1

DESCRIPTION

Update to latest container release in OpenShift

JOB TYPE

Run

INVENTORY

user1-inventory

PROJECT

user1-playbooks

PLAYBOOK

field-container.yml

CREDENTIAL

user1-cred

LIMIT

edge

VERBOSITY

0 (Normal)

OPTIONS

  • Enable Privilege Escalation

Next set extra variables to personalize the playbook to your environment. Start on line 2.

userid: 1

domain: redhatgov.io

prefix: example

When complete, select SAVE

tower template save

Next, select Templates at the left hand side of the page and then select Field container to edge node.

Note: You may need to reload or you may need to wait for your browser to refresh

Launch the playbook by pressing the rocket ship associated with the template.

tower rocket

Ensure that the playbook runs successfully.

tower templates field

Review the container now running on the edge node

http://example.edge.0.redhatgov.io/

Workshop Details

Domain Red Hat Logo
Workshop
Student ID

Return to Workshop