Compare commits
3 Commits
v0.0.2g-fr
...
v0.0.2j-ch
Author | SHA1 | Date | |
---|---|---|---|
5ba5919b14 | |||
ae044169f6 | |||
57738871f0 |
13
install-fog.yml
Normal file
13
install-fog.yml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
|
||||
roles:
|
||||
# - base
|
||||
# - goss
|
||||
# - dhcp-fog
|
||||
#- ssh-cli
|
||||
#- snmp-agent
|
||||
# - syslog-cli
|
||||
- fog
|
||||
#- post
|
@ -2,8 +2,8 @@
|
||||
## Created by the FOG Installer
|
||||
## Find more information about this file in the FOG Project wiki:
|
||||
## https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
|
||||
## Version: 1.5.9
|
||||
## Install time: jeu. 26 janv. 2023 11:41:05
|
||||
## Version: 1.5.10
|
||||
## Install time: jeu. 11 janv. 2024 11:41:05
|
||||
ipaddress='172.16.64.16'
|
||||
copybackold='0'
|
||||
interface='enp0s9'
|
||||
|
@ -1,8 +0,0 @@
|
||||
PidFile: "/run/zabbix/zabbix_agentd.pid"
|
||||
LogFile: "/var/log/zabbix/zabbix_agentd.log"
|
||||
LogFileSize: "0"
|
||||
Server: "127.0.0.1"
|
||||
ServerActive: "s-mon.gsb.adm"
|
||||
Include: "/etc/zabbix/zabbix_agentd.d/*.conf"
|
||||
UrlAgent: "https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian12_all.deb"
|
||||
PathAgent: "/tmp/zabbix-release_6.4-1+debian12_all.deb"
|
@ -1,11 +1,11 @@
|
||||
- name: Intallation paquet zabbix agent
|
||||
get_url:
|
||||
url: "{{ UrlAgent }}"
|
||||
url: "https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian12_all.deb"
|
||||
dest: "/tmp"
|
||||
|
||||
- name: Intallation paquet zabbix agent suite
|
||||
apt:
|
||||
deb: "{{ PathAgent }}"
|
||||
deb: "/tmp/zabbix-release_6.4-1+debian12_all.deb"
|
||||
state: present
|
||||
|
||||
- name: Update apt
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
- name: Rm package
|
||||
file:
|
||||
path: "{{ PathAgent }}"
|
||||
path: "/tmp/zabbix-release_6.4-1+debian12_all.deb"
|
||||
state: absent
|
||||
|
||||
- name: config
|
||||
@ -33,10 +33,10 @@
|
||||
src: zabbix_agentd.conf.temp
|
||||
dest: /etc/zabbix/zabbix_agentd.conf
|
||||
vars:
|
||||
PidFile: "{{ PidFile }}"
|
||||
LogFile: "{{ LogFile }}"
|
||||
LogFileSize: "{{ LogFileSize }}"
|
||||
Server: "{{ Server }}"
|
||||
ServerActive: "{{ ServerActive }}"
|
||||
PidFile: "/run/zabbix/zabbix_agentd.pid"
|
||||
LogFile: "/var/log/zabbix/zabbix_agentd.log"
|
||||
LogFileSize: "0"
|
||||
Server: "127.0.0.1"
|
||||
ServerActive: "s-mon.gsb.adm"
|
||||
Hostname: "{{ ansible_hostname }}"
|
||||
Include: "{{ Include }}"
|
||||
Include: "/etc/zabbix/zabbix_agentd.d/*.conf"
|
||||
|
Reference in New Issue
Block a user