Compare commits
5 Commits
v0.0.5g-fr
...
v0.0.5g-ch
Author | SHA1 | Date | |
---|---|---|---|
|
02fc23d224 | ||
bdc71bbb3c | |||
308504062e | |||
|
c3ad470fd1 | ||
2d3067d67b |
@@ -117,3 +117,11 @@ interface:
|
|||||||
addrs:
|
addrs:
|
||||||
- 172.16.0.7/24
|
- 172.16.0.7/24
|
||||||
mtu: 1500
|
mtu: 1500
|
||||||
|
http:
|
||||||
|
https://s-nxc.gsb.lan:
|
||||||
|
status: 200
|
||||||
|
allow-insecure: true
|
||||||
|
no-follow-redirects: false
|
||||||
|
timeout: 5000
|
||||||
|
body:
|
||||||
|
- Nextcloud
|
||||||
|
@@ -24,7 +24,10 @@ bash r-vp1-post.sh
|
|||||||
```
|
```
|
||||||
## Sur **r-vp2**:
|
## Sur **r-vp2**:
|
||||||
|
|
||||||
Lancer le script r-vp2-post.sh pour récuperer le fichier de configuration et activer l'interface wg0.
|
Lancer le playbook : *ansible-playbook -i localhost, -c local* r-vp2.yml sur **r-vp2**
|
||||||
|
|
||||||
|
Puis lancer le script r-vp2-post.sh pour récuperer le fichier de configuration et activer l'interface wg0.
|
||||||
|
|
||||||
### 🛠️ Lancer le script
|
### 🛠️ Lancer le script
|
||||||
```bash
|
```bash
|
||||||
cd /tools/ansible/gsb2023/Scripts
|
cd /tools/ansible/gsb2023/Scripts
|
||||||
@@ -34,7 +37,11 @@ bash r-vp2-post.sh
|
|||||||
```
|
```
|
||||||
## Fin
|
## Fin
|
||||||
|
|
||||||
redemarer les machines
|
Pour finir redemarer les machines.
|
||||||
```bash
|
```bash
|
||||||
reboot
|
reboot
|
||||||
```
|
```
|
||||||
|
Veuillez maintenant vous rendre dans le dossier du role ferm :
|
||||||
|
*gsb2024/roles/fw-ferm*
|
||||||
|
|
||||||
|
*Modification : jm*
|
@@ -28,6 +28,6 @@
|
|||||||
state: restarted
|
state: restarted
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
- name: remonter les machines
|
#- name: remonter les machines
|
||||||
command: curl -X POST -H "Content-Type: application/json" -d '{ "jsonrpc":"2.0","method":"host.create","params": {"host": "s-adm","groups": [{"groupid": "6"}],"templates": [{"templateid": "10343"}],"inventory_mode": 0,"inventory": {"type": 0}},"auth": "a44e2a4977d61a869437739cb6086ae42f4b9937fbb96aed24bbad028469a1cf","id": 1}' http://192.168.99.8/zabbix/api_jsonrpc.php
|
#command: curl -X POST -H "Content-Type: application/json" -d '{ "jsonrpc":"2.0","method":"host.create","params": {"host": "s-itil","groups": [{"groupid": "6"}],"templates": [{"templateid": "10343"}],"inventory_mode": 0,"inventory": {"type": 0}},"auth": "a44e2a4977d61a869437739cb6086ae42f4b9937fbb96aed24bbad028469a1cf","id": 1}' http://192.168.99.8/zabbix/api_jsonrpc.php
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user