reachout/git.yml
2019-06-04 03:20:59 +02:00

66 lines
1.4 KiB
YAML

---
- 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