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

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