Compare commits

..

8 Commits

Author SHA1 Message Date
root
a9b757dafa Merge branch 'master' of https://gitea.lyc-lecastel.fr/gadmin/gsb2021 2021-01-28 15:37:16 +01:00
root
bb5521f0dc ajout variable fog 2021-01-28 15:37:13 +01:00
bb
6201569f8a Merge branch 'master' of https://gitea.lyc-lecastel.fr/gadmin/gsb2021 2021-01-28 15:32:29 +01:00
bb
b14c35a7aa Ajout d'un fichier goss pour s-agence 2021-01-28 15:31:29 +01:00
root
3be4dd14d4 Merge branch 'master' of https://gitea.lyc-lecastel.fr/gadmin/gsb2021 2021-01-28 15:15:18 +01:00
root
7245538622 ajout variable fog 2021-01-28 15:14:59 +01:00
bb
c448fb3457 Ajout du role goss pour s-agence 2021-01-28 15:04:03 +01:00
tl
0c0b58399f correction s-lb-web3 2021-01-28 14:26:42 +01:00
5 changed files with 45 additions and 3 deletions

39
goss/s-agence.yaml Normal file
View File

@@ -0,0 +1,39 @@
command:
ip r:
exit-status: 0
stdout:
- default via 172.16.128.254 dev enp0s8
- 172.16.128.0/24
- 192.168.99.0/24
stderr: []
timeout: 10000
ping -c 2 172.16.0.1:
exit-status: 0
stdout:
- 0% packet loss
stderr: []
timeout: 10000
ping -c 2 172.16.128.254:
exit-status: 0
stdout:
- 0% packet loss
stderr: []
timeout: 10000
ping -c 2 192.168.1.1:
exit-status: 0
stdout:
- 0% packet loss
stderr: []
timeout: 10000
ping -c 2 192.168.1.2:
exit-status: 0
stdout:
- 0% packet loss
stderr: []
timeout: 10000
ping -c 2 192.168.200.254:
exit-status: 0
stdout:
- 0% packet loss
stderr: []
timeout: 10000

View File

@@ -0,0 +1,2 @@
depl_url: "http://s-adm.gsb.adm/gsbstore"
depl_fog: "fogproject-1.5.9.tar.gz"

View File

@@ -6,10 +6,10 @@
- name: recuperation du fichier d'installation de fog - name: recuperation du fichier d'installation de fog
get_url: get_url:
url: http://depl/gsbstore/fogproject-1.5.7.tar.gz url: "{{ depl_url }}/{{ depl_fog }}"
dest: /root/fog dest: /root/fog
- name: decompression du fichier d'installation de fog - name: decompression du fichier d'installation de fog
unarchive: unarchive:
src: /root/fog/fogproject-1.5.7.tar.gz src: "/root/fog/{{ depl_fog }}"
dest: /root/fog dest: /root/fog

View File

@@ -44,7 +44,7 @@ backend fermeweb
#option httpchk HEAD / HTTP/1.0 #option httpchk HEAD / HTTP/1.0
server s-lb-web1 192.168.101.1:80 check server s-lb-web1 192.168.101.1:80 check
server s-lb-web2 192.168.101.2:80 check server s-lb-web2 192.168.101.2:80 check
# server s-lb-web3 192.168.101.2:80 check # server s-lb-web3 192.168.101.3:80 check
listen stats listen stats
bind *:8080 bind *:8080

View File

@@ -7,3 +7,4 @@
- ssh-cli - ssh-cli
- syslog-cli - syslog-cli
- post - post
- goss