aboutsummaryrefslogtreecommitdiffstats
path: root/space.yml
blob: 637c1fb86c2089e5709f381d1dc9f809d136b379 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- hosts: space.labitat.dk
  pre_tasks:
  - name: Detect chroot
    set_fact:
      chroot: "{{ ansible_connection == 'chroot' or 'container' in ansible_env }}"
    tags: always
  - name: Load secrets
    include_vars: '{{ item }}'
    with_first_found:
    - files:
      - /etc/ansible/secrets.yml
      - secrets.yml
      skip: true
    tags: always
  roles:
  - space_server

# vim: set ts=2 sw=2 et: