diff --git a/roles/fog/files/.fogsettings.single-if b/roles/fog/files/.fogsettings.single-if new file mode 100644 index 0000000..812de05 --- /dev/null +++ b/roles/fog/files/.fogsettings.single-if @@ -0,0 +1,46 @@ +## Start of FOG Settings +## 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.10 +## Install time: mar. 16 janv. 2024 15:27:57 +ipaddress='192.168.99.100' +copybackold='0' +interface='enp0s3' +submask='255.255.255.0' +hostname='s-fog.gsb.lan' +routeraddress='192.168.99.99' +plainrouter='192.168.99.99' +dnsaddress='192.168.99.99' +username='fogproject' +password='zbSw#FaGPS7O1bJ5tpfj' +osid='2' +osname='Debian' +dodhcp='Y' +bldhcp='0' +dhcpd='isc-dhcp-server' +blexports='1' +installtype='N' +snmysqluser='fogmaster' +snmysqlpass='cbZjO*gCONbbldV4a6l1' +snmysqlhost='localhost' +mysqldbname='fog' +installlang='0' +storageLocation='/images' +fogupdateloaded=1 +docroot='/var/www/html/' +webroot='/fog/' +caCreated='yes' +httpproto='http' +startrange='' +endrange='' +packages='apache2 bc build-essential cpp curl g++ gawk gcc genisoimage git gzip htmldoc isolinux lftp libapache2-mod-php libc6 libcurl4 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php php-bcmath php-cli php-curl php-fpm php-gd php-json php-ldap php-mbstring php-mysql tar tftpd-hpa tftp-hpa unzip vsftpd wget zlib1g' +noTftpBuild='' +tftpAdvOpts='' +sslpath='/opt/fog/snapins/ssl/' +backupPath='/home/' +armsupport='' +php_ver='7.4' +sslprivkey='/opt/fog/snapins/ssl//.srvprivate.key' +sendreports='Y' +## End of FOG Settings diff --git a/roles/fog/tasks/main.yml b/roles/fog/tasks/main.yml index 06de558..86fb6a2 100644 --- a/roles/fog/tasks/main.yml +++ b/roles/fog/tasks/main.yml @@ -42,8 +42,8 @@ src: "/tmp/{{ depl_fog }}" dest: "/tmp/" -- name: Exécution du script d'installation Fog - ansible.builtin.shell: sudo bash /tmp/fogproject-1.5.10/bin/installfog.sh --recreate-keys -f /tmp/fogsettings -y - args: - chdir: "/tmp/fogproject-1.5.10/" + #- name: Exécution du script d'installation Fog + # ansible.builtin.shell: sudo bash /tmp/fogproject-1.5.10/bin/installfog.sh --recreate-keys -f /tmp/fogsettings -y + # args: + # chdir: "/tmp/fogproject-1.5.10/" diff --git a/s-fog.yml b/s-fog.yml index d35beb2..4d5a8ab 100644 --- a/s-fog.yml +++ b/s-fog.yml @@ -9,6 +9,6 @@ # - ssh-cli # - snmp-agent # - syslog-cli - # - fog + - fog #- - journald-snd - - post + #- post