102 Ansible installation Quick Guide
The lab enables you to gain the skills need to install Ansible using Astra Automation CDK (Content Development Kit).
To quickly check how this lab works, do the following:
Copy the inventory file to the managed node:
scp hosts.ini astra_admin@node-small-1.ws.internal:
Add the AA repository reference to the APT list on the managed node:
ansible -b node-small-1.ws.internal -m ansible.builtin.copy -a "src=astra-automation.list dest=/etc/apt/sources.list.d/"
SSH to the managed node:
ssh astra_admin@node-small-1.ws.internal
Update the APT index:
sudo apt update
Install CDK:
sudo apt install -y astra-automation-cdk
Check the Ansible installation:
ansible localhost -m ping
Leave the node:
exit