Ansible playbooks to setup initial configurations, install various utilities, and security tools to localhost.
I needed something to install tools quickly after a new fresh OS install.
Packages to be installed prior to running the playbooks.
$ apt update
$ apt -y install python-apt ansible
Perform a dry run:
$ sudo ansible-playbook playbook.yml --check
List tasks or tags:
$ sudo ansible-playbook playbook.yml --list-tasks
Install or skip specific tasks:
$ sudo ansible-playbook playbook.yml --tags "deb-utils,rust"
$ sudo ansible-playbook playbook.yml --skip-tags "kitty"
Run playbook and all install tools to localhost:
$ sudo ansible-playbook playbook.yml
- Use inventory file
- Dynamically get go latest version/