goss s-backup

This commit is contained in:
root 2023-01-25 15:24:53 +01:00
parent c32cf92cf5
commit 62f9591c62
2 changed files with 42 additions and 0 deletions

41
goss/s-backup.yaml Normal file
View File

@ -0,0 +1,41 @@
package:
bind9:
installed: true
cifs-utils:
installed: true
rsync:
installed: true
smbclient:
installed: true
service:
bind9:
enabled: true
running: true
rsync:
enabled: true
running: false
command:
ping -c4 ns.gsb.lan:
exit-status: 0
stdout:
- 0% packet loss
stderr: []
timeout: 10000
#check si partage windows accesible
smbclient -L //s-win --user=uBackup%Azerty1+ | grep 'public':
exit-status: 0
stdout:
- public
stderr: []
timeout: 10000
interface:
enp0s3:
exists: true
addrs:
- 192.168.99.4/24
mtu: 1500
enp0s8:
exists: true
addrs:
- 172.16.0.4/24
mtu: 1500

View File

@ -4,6 +4,7 @@
roles: roles:
- base - base
- goss
# - proxy3 # - proxy3
- snmp-agent - snmp-agent
# - ssh-cli # - ssh-cli