Skip to content

Latest commit

 

History

History
64 lines (50 loc) · 2.33 KB

README.md

File metadata and controls

64 lines (50 loc) · 2.33 KB

ansible-ctrl

Provision workstations and servers using Ansible.

Requirements

Create a file in the project root named "hosts":

example ansible_connection=local ansible_host=example.com ansible_user=andornaut ansible_python_interpreter=/usr/bin/python3

[upgrade]
example

Installing or upgrading Ansible on Ubuntu

sudo apt remove ansible --purge
sudo apt-add-repository ppa:ansible/ansible
sudo apt install ansible

Usage

make homeassistant-frigate
make rsnapshot
make upgrade
make webservers
make workstation

The make workstation target will run the workstation playbook. This playbook will prompt you to choose which of its roles to include.

Roles

Each role defines default Ansible variables that can be overidden in ./host_vars.