Compare commits

...

3 Commits

Author SHA1 Message Date
5ba5919b14 modif fog 2024-01-11 15:22:20 +01:00
ae044169f6 modif role fog 2024-01-11 15:09:03 +01:00
57738871f0 update 2024-01-11 15:00:04 +01:00
5 changed files with 25 additions and 20 deletions

13
install-fog.yml Normal file
View File

@ -0,0 +1,13 @@
---
- hosts: localhost
connection: local
roles:
# - base
# - goss
# - dhcp-fog
#- ssh-cli
#- snmp-agent
# - syslog-cli
- fog
#- post

View File

@ -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'

View File

@ -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"

View File

@ -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"

View File

@ -9,5 +9,5 @@
- ssh-cli
- snmp-agent
# - syslog-cli
- fog
# - fog
- post