#!/usr/bin/env bash
docker build -t mtkhawaja/dev-env:latest . && docker run -it --rm mtkhawaja/dev-env:latest
Run the convenience script below to install Ansible and run the playbook i.e.
#!/usr/bin/env bash
curl -s https://raw.githubusercontent.com/mtkhawaja/dev-environment/main/setup.sh | bash
Alternatively, you can run the commands below manually:
#!/usr/bin/env bash
# Install Ansible
sudo apt update
sudo apt install -y software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install -y ansible
# Run the playbook
ansible-pull -U https://github.com/mtkhawaja/dev-environment.git -i localhost, local.yaml