Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Latest commit

 

History

History
40 lines (30 loc) · 1.17 KB

File metadata and controls

40 lines (30 loc) · 1.17 KB

hacktop

Ansible playbook to setup initial configurations, install various utilities, and security tools to localhost.

Note: I switched to Fedora so I won't be maintaining this anymore.

Testing

This has been built and tested for Pop!_OS 20.04. This playbook can work on other Debian-based distributions. Expect failures when repositories aren't present.

Dependencies

Install the ansible package prior to running the playbook.

$ apt -y install ansible

Running playbook

The preflight role will check if the user and hostname variables are defined. If not, the playbook will fail and ask you to populate the variables. These can be found in preflight/defaults/main.yml.

Perform a dry run:

$ sudo ansible-playbook install.yml --check

List tasks or tags:

$ ansible-playbook install.yml --list-tasks
$ ansible-playbook install.yml --list-tags

Install or skip specific tags (or tasks):

$ ansible-playbook install.yml --tags "web,crack" -K
$ ansible-playbook install.yml --skip-tags "social,wireless" -K

Run playbook and all install tools to localhost:

$ ansible-playbook install.yml -K