Rolling Out Website Updates

Update a two-backend website with Ansible, verify full visitor content and recover safely when a candidate fails.

ProjectAnsible

Introduction

Rolling Out Website Updates is a practical Ansible project for learners who know a small inventory and playbook. Update a working event website on two backends, check the complete visitor program and recover the previous usable release when a candidate is incomplete.

Two Guided Labs build an inspection tool, a sequential rollout and failure recovery. An independent Challenge changes the hosts and gallery packages: reject an incomplete release first, then deliver the approved one with the same workflow. Every unit starts with its own prepared environment.

What You Will Learn

  • Read each backend's actual running release and the controller's active routing pool.
  • Delegate pool requests to the controller while copying release files to SSH-managed nodes.
  • Finish one backend before starting another, with full homepage and CSV checks before rejoining.
  • Capture the actual previous release, verify its restored content and stop subsequent batches explicitly.
  • Preserve existing website files, private notes and working visitor information.

Who This Course Is For

This course is for Ansible beginners ready to combine familiar tasks into a complete website release.

Prerequisites: Basic terminal navigation and practice with inventories, variables, playbooks and basic file/copy tasks. The guided work explains delegation, batches and recovery before the Challenge.

Learning environment: Ansible, SSH access, website packages, a gateway and two backend containers are prepared. Use the Controller and Website Tabs in your browser. The containers share the training VM's kernel.

Frequently Asked Questions

Do I need to build the website or install software?

No. The visitor site, packages and tools are ready. You write and inspect the Ansible workflow.

Does a failed command always mean the exercise is unfinished?

No. Rejecting the incomplete candidate intentionally ends with a nonzero status after healthy recovery. The important result is the actual restored website and the untouched next backend.

How does the Challenge extend the Guided Labs?

It changes the gallery's hosts, release identifiers and program. Apply the taught mechanisms to reject the broken package, then release the approved one independently.

Teacher

labby
Labby
Labby is the LabEx teacher.