aboutsummaryrefslogtreecommitdiffstats
path: root/space.yml
blob: 2df78e52740a8173669e781cdf6e6d91032f03dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- hosts: space
  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: