aboutsummaryrefslogblamecommitdiffstats
path: root/space.yml
blob: 1243bad7044e1e4381866e8a71159d2c114020be (plain) (tree)
1
2
3
4
5
6
7
8
9
10
   
                         
            






                                                                                  


                              
                
        
                

                        
---
- 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:
    - /etc/ansible/secrets.yml
    - secrets.yml
    ignore_errors: yes
    tags: always
  roles:
  - space_server

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