Skip to content

feat: add Fleet AO smoke service demo - #403

Merged
chadmf merged 5 commits into
ansible:mainfrom
hammer-redhat:aap-demo-content
Nov 13, 2026
Merged

chadmf merged 5 commits into
ansible:mainfrom
hammer-redhat:aap-demo-content

Conversation

@hammer-redhat

Copy link
Copy Markdown
Contributor

Summary

Adds the reusable Linux playbook used by the aap-demo Fleet and Automation Orchestrator integration to demonstrate a visible, bounded service-state change on a Fleet-managed host.

Changes

  • Add linux/fleet_ao_smoke.yml, which starts and verifies aap-demo-fleet-smoke.service.
  • The service uses systemd-run --collect with a five-minute sleep, so systemd collects it automatically.
  • Document the playbook in the Linux demo catalog and documentation site.
  • Add a small contract test that verifies the playbook's service start and verification commands.

Validation

  • bash tests/test_fleet_ao_smoke.sh
  • ansible-playbook --syntax-check linux/fleet_ao_smoke.yml
  • git diff --check

pre-commit is not installed in the local workspace, so its repository hooks were not run.

Additional information

This PR intentionally contains the reusable Product Demos playbook and documentation only. Fleet inventory selection, AAP template provisioning, and Automation Orchestrator workflow wiring remain in RedHatOfficial/aap-demo.

@IPvSean IPvSean left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for keeping this scoped to the reusable playbook and docs. A few inline notes - the biggest open question is why this stays out of linux/setup.yml / APD bootstrap when it is catalogued as an active linux demo.

Comment thread docs/_data/demos.yml Resolved
Comment thread linux/docs/linux-fleet-ao-smoke.md Resolved
Comment thread linux/fleet_ao_smoke.yml Resolved
Comment thread linux/fleet_ao_smoke.yml Resolved
Comment thread linux/README.md Resolved
Comment thread tests/test_fleet_ao_smoke.sh Resolved
@hammer-redhat

Copy link
Copy Markdown
Contributor Author

Thanks for the review/comments @IPvSean I will work on addressing them. Just as an FYI, this was originally developed in aap-demo, then after a discussion with the leads we decided all demo content for aap-demo should live in APD. I expected there would be some gaps shifting over to APD and I wanted to draft this PR to get feedback from the repo owners here.

@IPvSean

IPvSean commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

If you want I can just make the changes, just didn't want to change stuff unless you agree to it?

@IPvSean

IPvSean commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the follow-up. This addresses the review notes.

Please move the pull request out of draft when you are ready for it to merge.

@IPvSean IPvSean left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Job template, host selection, docs, and removal of the unwired test all look right.

Please mark this ready for review when you want it merged.

@hammer-redhat
hammer-redhat marked this pull request as ready for review November 12, 2026 18:37
@hammer-redhat

Copy link
Copy Markdown
Contributor Author

Thanks @IPvSean for the approval, I've moved the PR out of draft, it's ready for review for merging.

@chadmf
chadmf merged commit 1a5c7eb into ansible:main Nov 13, 2026
1 check passed
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.

3 participants