aboutsummaryrefslogtreecommitdiffstats
path: root/space.yml
blob: 5474cfa9b5c97fdcbda05f95935c54887ffb9123 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- 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:
    - secrets.yml
    - /root/secrets.yml
    ignore_errors: yes
    tags: always
  roles:
  - space_server

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