backup client und ruby test
This commit is contained in:
@@ -2,6 +2,30 @@
|
|||||||
common_aliases:
|
common_aliases:
|
||||||
- "root: bofh@fet.at"
|
- "root: bofh@fet.at"
|
||||||
common_hostname: False
|
common_hostname: False
|
||||||
common_apt: False
|
|
||||||
common_rsyslog: False
|
common_rsyslog: False
|
||||||
common_resolvconf: False
|
common_resolvconf: False
|
||||||
|
|
||||||
|
# apt-get common config
|
||||||
|
common_apt: False
|
||||||
|
common_apt_repositories:
|
||||||
|
- "deb http://gd.tuwien.ac.at/opsys/linux/debian {{ ansible_distribution_release }} main contrib non-free"
|
||||||
|
- "deb http://gd.tuwien.ac.at/opsys/linux/debian/ {{ ansible_distribution_release }}-backports main contrib non-free"
|
||||||
|
- "deb http://security.debian.org/debian-security {{ ansible_distribution_release }}/updates main contrib non-free"
|
||||||
|
common_basic_packages:
|
||||||
|
- curl
|
||||||
|
- git
|
||||||
|
- htop
|
||||||
|
- iputils-ping
|
||||||
|
- mtr-tiny
|
||||||
|
- ncdu
|
||||||
|
- strace
|
||||||
|
- sudo
|
||||||
|
- tmux
|
||||||
|
- tree
|
||||||
|
- vim
|
||||||
|
- zsh
|
||||||
|
# for ansible/debian
|
||||||
|
- lsb-release
|
||||||
|
- python-apt
|
||||||
|
- python-pycurl
|
||||||
|
|||||||
7
group_vars/ruby
Normal file
7
group_vars/ruby
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
common_aliases:
|
||||||
|
- "root: bofh@fet.at"
|
||||||
|
common_hostname: False
|
||||||
|
common_apt: True
|
||||||
|
common_rsyslog: False
|
||||||
|
common_resolvconf: True
|
||||||
@@ -3,3 +3,6 @@
|
|||||||
|
|
||||||
[backupclient]
|
[backupclient]
|
||||||
10.0.3.161
|
10.0.3.161
|
||||||
|
|
||||||
|
[ruby]
|
||||||
|
10.0.3.40
|
||||||
@@ -14,6 +14,7 @@
|
|||||||
- name: fetch pubickey
|
- name: fetch pubickey
|
||||||
shell: "cat /home/borg_backup/.ssh/id_rsa.pub"
|
shell: "cat /home/borg_backup/.ssh/id_rsa.pub"
|
||||||
register: id_rsa_pub
|
register: id_rsa_pub
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: Add authorized key to borg backup servers
|
- name: Add authorized key to borg backup servers
|
||||||
authorized_key:
|
authorized_key:
|
||||||
|
|||||||
Reference in New Issue
Block a user