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 infra-admin@stand-1.education.stand:
Add the AA repository reference to the APT list on the managed node:
ansible -b stand-1.education.stand -m ansible.builtin.copy -a "src=astra-automation.list dest=/etc/apt/sources.list.d/"
SSH to the managed node:
ssh infra-admin@stand-1.education.stand
Update the APT index:
sudo apt update
Install CDK:
sudo apt install -y astra-automation-cdk
Check the Ansible installation:
ansible -i hosts.ini local -m ping
Leave the node:
exit