Skip to content

docs(lab7): deploy QuickNotes to the Lab 5 VM via Ansible - #1498

Open
HNS2112 wants to merge 7 commits into
inno-devops-labs:mainfrom
HNS2112:feature/lab7
Open

docs(lab7): deploy QuickNotes to the Lab 5 VM via Ansible#1498
HNS2112 wants to merge 7 commits into
inno-devops-labs:mainfrom
HNS2112:feature/lab7

Conversation

@HNS2112

@HNS2112 HNS2112 commented Aug 11, 2026

Copy link
Copy Markdown

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 binary
  • ansible/ansible-pull.{service,timer} + inventory-local.ini — the GitOps loop
  • evidence/lab7/ — all six PLAY RECAPs and service state
  • submissions/lab7.md — report covering Tasks 1–2 and the bonus

Testing

First run ok=7 changed=7; service active (running); curl :18080/health returns 200 from the host.
Second run changed=0. One variable changed → only the template task changed and the handler fired.
--check --diff shows 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

  • Title is a clear sentence (≤ 70 chars)
  • Commits are signed (git log --show-signature)
  • submissions/labN.md updated

HNS2112 added 7 commits August 3, 2026 22:31
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant