uberspace-ansible/README.md

32 lines
723 B
Markdown
Raw Permalink Normal View History

2021-01-04 21:52:44 +01:00
# Uberspace set up playbooks
Contains ansible playbooks to set up Uberspaces.
## Requirements
2021-01-04 21:58:46 +01:00
Technical dependencies on host machine (Python 3.5+):
2021-01-04 21:52:44 +01:00
2021-01-04 21:58:46 +01:00
* python3
* python3-pip
* python3-apt
2021-01-05 12:20:04 +01:00
* python3-selinux
2021-01-04 21:52:44 +01:00
Technical dependencies on managed machines:
2021-04-24 12:09:01 +02:00
* python2.7
2021-01-04 21:52:44 +01:00
Install further dependencies on the host machine: ``pip install -r requirements.txt``
## Usage
After cloning the repo to your ansible host, copy ``hosts.example`` to
2021-01-04 21:58:46 +01:00
``hosts`` and fill the file appropriately.
2021-01-04 21:52:44 +01:00
Furthermore, you have to copy the ``*_vars.yml.example`` files and
update the variable values.
2021-01-04 21:58:46 +01:00
All playbooks expect a fresh Uberspace with SSH key set up via
management dashboard.
2021-01-04 21:52:44 +01:00
2021-01-05 12:20:04 +01:00
* postgres setup: ``ansible-playbook -i hosts postgres.yml``