This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
pi-ansible/playbook.yml

26 lines
474 B
YAML
Raw Normal View History

2022-12-21 21:25:10 +00:00
---
2022-12-22 19:18:27 +00:00
- name: Deploy self-hosted services
2022-12-21 21:25:10 +00:00
hosts: all
gather_facts: false
become: true
2022-12-22 19:18:27 +00:00
vars:
2022-12-22 22:34:09 +00:00
hdd_name: storage
hdd_mount_point: "/opt/{{ hdd_name }}"
ssd_name: pi-ssd
ssd_mount_point: "/opt/{{ ssd_name }}"
2022-12-22 19:18:27 +00:00
timezone: Europe/Copenhagen
2022-12-21 21:25:10 +00:00
tasks:
2022-12-22 19:18:27 +00:00
- name: Run OS configuration role
import_role:
name: os_config
2022-12-22 22:34:09 +00:00
tags:
- os
2022-12-21 21:25:10 +00:00
- name: Run Docker role
import_role:
name: docker
2022-12-22 22:34:09 +00:00
tags:
- docker