docs(lab7): deploy QuickNotes to the Lab 5 VM via Ansible - #1498
Open
HNS2112 wants to merge 7 commits into
Open
Conversation
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
Lab 7 submission: an idempotent Ansible playbook deploying QuickNotes to the Lab 5 VM as a systemd service, with idempotency proven, plus an ansible-pull GitOps loop that converges the VM from Git on a timer.
Changes
ansible/— playbook, inventory, systemd template, static binaryansible/ansible-pull.{service,timer}+inventory-local.ini— the GitOps loopevidence/lab7/— all six PLAY RECAPs and service statesubmissions/lab7.md— report covering Tasks 1–2 and the bonusTesting
First run
ok=7 changed=7; serviceactive (running);curl :18080/healthreturns 200 from the host.Second run
changed=0. One variable changed → only the template task changed and the handler fired.--check --diffshows a one-line diff.Bonus: push at 16:00:11 UTC → timer fired 16:03:18 → service restarted 16:03:36. 3m 25s, no host command.
Checklist
git log --show-signature)submissions/labN.mdupdated