Composite skill combining 4 Ansible modules Use when managing multiple related resources on remote hosts via Ansible.
Composite skill combining 4 Ansible modules
This is a composite skill combining 4 Ansible module(s) into a single use-case-driven package.
AAP mode is active. You MUST use scripts/aap_run.py (located next to this
SKILL.md) for ALL execution. Do NOT run local ansible-playbook or
scripts/run.sh — that wrapper invokes the local CLI only, not AAP.
| Setting | Value |
|---|---|
| AAP Controller | https://aap-aap.apps.cluster-rmf2p-1.dynamic.redhatworkshops.io |
| Default AAP inventory | `` |
| Default Credential | `` |
| Default Project | AnsibleClaw |
| Default EE | Default execution environment |
The Default AAP inventory value is a (name or numeric ID) defined and maintained in Ansible Automation Platform, not a path to a local file such as .
inventory/hosts.ymlIMPORTANT: AAP_CONTROLLER_TOKEN is required only for Controller API calls
(create-jt, launch, status). You can still edit assets/playbook.yml
and push changes to the Project Git repo without the token.
Preferred path: Job Templates (repeatable, RBAC-friendly, typical production flow).
Edit and push playbook changes first:
assets/playbook.yml for the user request.bash scripts/publish_playbook.sh to copy/update the skill under skills/ansible_web-server-setup/ in the AAP Project repo and push.Optional prerequisite check:
bash scripts/check.sh
Create a Job Template via helper script:
python3 scripts/aap_run.py create-jt --name "web-server-setup"
Launch (after operator approval):
python3 scripts/aap_run.py launch "web-server-setup"
python3 scripts/aap_run.py status <job-id>
This skill requires the following collections:
ansible.posixIn AAP mode, collections are bundled into Execution Environments (EEs).
Ensure your EE includes all required collections. If not, update your
execution-environment.yml and rebuild: