Open matthoff11 opened 1 year ago
seem to be some issues with ansible, this may help someone else:
sudo apt remove ansible sudo apt --purge autoremove sudo apt -y install software-properties-common sudo apt-add-repository ppa:ansible/ansible sudo apt install ansible
Launch an Ubuntu 22.04 instance in AWS, ssh in using the pem file then start the config.
sudo apt update
sudo apt install -y python3-pip
sudo apt install ansible python3-jmespath
sudo apt install awscli
aws configure
git clone https://github.com/book-of-kubernetes/examples.git
vim examples/setup/roles/aws-instances/defaults/main.yaml
fix the image type seen in other posts, the ubuntu server should use a wildcard.cd examples/setup
ansible-galaxy collection install -r collections/requirements.yaml
pip3 install -r requirements.txt
pip3 install -r collections/ansible_collections/amazon/aws/requirements.txt
change to chapter and run aws-setup and playbook