Files
Lakehouse/ansible/playbook.yml
T
Lakehouse Admin df5ec93dc3 Full lab documentation and infrastructure as code
- Trino catalogs, Grafana, Spark jobs, LDAP LDIF, NPM compose
- Airflow DAG scripts, Proxmox VM inventory, network docs
- Ansible playbook, Gitea CI validate workflow
- Backup and health-check scripts, cron documentation
- Homepage DOCS tab with links to all documentation
- Extended collect-fleet-config.sh and populate-repo.py
2026-05-19 23:12:41 +02:00

39 lines
1.1 KiB
YAML

---
# Deploy ATC Lakehouse from git (run from atc-docker01 or control node with mesh SSH)
- name: ATC Lakehouse — docker01 stack
hosts: atc-docker01
become: true
tasks:
- name: Ensure repo present
git:
repo: http://atc-mgt01.dell-atc.lan:3001/mo/Lakehouse.git
dest: /root/lakehouse
version: master
force: false
- name: Deploy homepage + RSS + icons
command: docker compose -f deploy/docker-compose.homepage.yml up -d --build
args:
chdir: /root/lakehouse
- name: Deploy superset
command: docker compose -f compose/superset/docker-compose.yaml up -d --build
args:
chdir: /root/lakehouse
- name: Revalidate homepage
command: docker exec homepage wget -qO- http://127.0.0.1:3000/api/revalidate
changed_when: false
failed_when: false
- name: Sync /etc/hosts on fleet
hosts: all
become: true
tasks:
- name: Append ATC hosts block
blockinfile:
path: /etc/hosts
marker: "# {mark} ATC Lakehouse lab"
block: "{{ lookup('file', '../config/hosts/atc-lab.hosts') }}"
when: ansible_user != 'admin'