From 62f9591c627bc0fbe82bb0a50acc336a1e1b3072 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Jan 2023 15:24:53 +0100 Subject: [PATCH] goss s-backup --- goss/s-backup.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ s-backup.yml | 1 + 2 files changed, 42 insertions(+) create mode 100644 goss/s-backup.yaml diff --git a/goss/s-backup.yaml b/goss/s-backup.yaml new file mode 100644 index 0000000..7c71428 --- /dev/null +++ b/goss/s-backup.yaml @@ -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 diff --git a/s-backup.yml b/s-backup.yml index 983e4d3..b89ab9d 100644 --- a/s-backup.yml +++ b/s-backup.yml @@ -4,6 +4,7 @@ roles: - base + - goss # - proxy3 - snmp-agent # - ssh-cli