Install the basics to bootstrap automation
apt install -y software-properties-common \
&& apt-add-repository -y ppa:ansible/ansible \
&& apt install -y curl git ansible build-essential sudo \
&& usermod -aG sudo tgoshinskiLogin as user and should be able to let ansible handle the rest
git clone https://github.com/code-chimp/ansible.ubuntu
cd ansible.ubuntuEdit the vars section of playbook.yml with the latest versions
Run the playbook
ansible-playbook --ask-become-pass --ask-vault-pass playbook.ymlNOTE: --ask-vault-pass is incorrectly listed as an option for ansible-pull so need to supply
a password file if attempting a remote pull
echo '<mondo secure password>' > DELETE_ME
ansible-pull -K --vault-pass-file DELETE_ME -U https://github.com/code-chimp/ansible.ubuntu.git
rm DELETE_ME- Not using
ansible.builtin.apt_repositorybecause it doesn't support Ubuntu's current key strategy - The docker image is really only used for debugging new tasks
./build-docker
docker run --rm -it --entrypoint bash scratch-computer
# inside temp image
ansible-playbook --ask-become-pass --ask-vault-pass ./ansible/playbook.yml