Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 929 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 929 Bytes

Ansible Playbooks

Installation

By docker/podman:

docker run -it quay.io/odepaz/ansible-playbooks -i <DNS/ip>, -u root -k server.yml

From source:

git clone https:///github.com/osherdp/ansible-playbooks.git
cd ansible-playbooks
python3 -m venv .venv
. .venv/bin/activate
pip install ansible

Usage

Run locally the workstation's playbook:

ansible-playbook --connection=local -i localhost, -u $USER -K workstation.yml

Run locally the server's playbook:

ansible-playbook --connection=local -i localhost, -u $USER -K server.yml

Matchbox

ansible-playbook -i <hostname_or_ip>, -u root -k matchbox.yml

Ports will be 9090 (HTTP) and 9091 (grpc). Client certificates are located at ~/.matchbox for usage by terraform (recommended) or by manual usage. Server certificates are located at /etc/matchbox/ though they are not relevant outside of the server's scope.