Initial commit

This commit is contained in:
2019-06-04 03:20:59 +02:00
commit 06523efab1
8 changed files with 172 additions and 0 deletions

65
git.yml Normal file
View File

@@ -0,0 +1,65 @@
---
- hosts: ubuntu-pcs
tasks:
- name: Install/Update repository admin-stuff
git:
repo: https://git.oopen.de/script/admin-stuff
dest: /root/bin/admin-stuff
with_items:
- admin-stuff
- monitoring
- postfix
- hosts: fileserver
tasks:
- name: Install/Update script repositories
git:
repo: https://git.oopen.de/script/{{ item }}
dest: /root/bin/{{ item }}
with_items:
- admin-stuff
- monitoring
- postfix
- samba
- name: Install/Update repository mailsystem
git:
repo: https://git.oopen.de/install/mailsystem
dest: /usr/local/src/mailsystem
- hosts: gateway
tasks:
- name: Install/Update script repositories
git:
repo: https://git.oopen.de/script/{{ item }}
dest: /root/bin/{{ item }}
with_items:
- admin-stuff
- manage-gw-config
- monitoring
- postfix
- name: Install/Update install repositories
git:
repo: https://git.oopen.de/install/{{ item }}
dest: /usr/local/src/{{ item }}
with_items:
- mailsystem
- openvpn
- name: Install/Update repository ipt-gateway
git:
repo: https://git.oopen.de/firewall/ipt-gateway
dest: /usr/local/src/ipt-gateway
- name: Install/Update repository check_net
git:
repo: https://git.oopen.de/routing/check_net
dest: /usr/local/src/check_net