21 lines
607 B
YAML
21 lines
607 B
YAML
- hosts: "{{ target_host }}"
|
|
tasks:
|
|
- name: Check if .out file exists
|
|
stat:
|
|
path: "{{ ansible_env.HOME }}/.out"
|
|
register: out_file
|
|
|
|
- name: Exit playbook if .out file exists
|
|
fail:
|
|
msg: ".out file exists, exiting playbook."
|
|
when: out_file.stat.exists
|
|
|
|
- import_playbook: setup-dns.yml
|
|
- import_playbook: setup-system.yml
|
|
- import_playbook: setup-k8s.yml
|
|
- import_playbook: setup-container-registry.yml
|
|
- import_playbook: run-laconicd.yml
|
|
- import_playbook: run-laconic-console.yml
|
|
- import_playbook: deploy-backend.yml
|
|
- import_playbook: deploy-frontend.yml
|