This commit is contained in:
23
site.yml
Executable file
23
site.yml
Executable file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
- hosts: all
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- name: Install python for Ansible
|
||||
raw: test -e /usr/bin/python || (apt -y update && apt install -y python2.7 python-minimal sudo)
|
||||
changed_when: False
|
||||
|
||||
|
||||
- hosts: middleware
|
||||
become: True
|
||||
roles:
|
||||
- geerlingguy.docker
|
||||
- traefik
|
||||
tags:
|
||||
- traefik
|
||||
|
||||
- hosts: gitea
|
||||
become: True
|
||||
roles:
|
||||
- gitea
|
||||
tags:
|
||||
- gitea
|
||||
Reference in New Issue
Block a user