adapt diverses

This commit is contained in:
root 2024-01-17 13:39:34 +01:00
parent 924a11f843
commit 1e30fd87a9
3 changed files with 15 additions and 10 deletions

View File

@ -6,7 +6,7 @@
## Install time: Mon Jan 15 23:16:31 2024
ipaddress='172.16.0.8'
copybackold='0'
interface='eth2'
interface='enp0s9'
submask='255.255.255.0'
hostname='s-fog.gsb.lan'
routeraddress='172.16.64.254'

View File

@ -27,23 +27,28 @@
- vsftpd
- wget
- name: creation /root/tmp
file:
path: /root/tmp
state: directory
- name: fichier config fogsettings
copy:
src: fogsettings
dest: /tmp/
dest: /root/tmp/
- name: Récupération archive d'installation Fog
get_url:
url: "{{ depl_url }}/{{ depl_fog }}"
dest: "/tmp/"
dest: "/root/tmp/"
- name: Décompression de l'archive
ansible.builtin.unarchive:
src: "/tmp/{{ depl_fog }}"
dest: "/tmp/"
src: "/root/tmp/{{ depl_fog }}"
dest: "/root/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 /root/tmp/fogproject-1.5.10/bin/installfog.sh --recreate-keys -f /root/tmp/fogsettings -y
args:
chdir: "/root/tmp/fogproject-1.5.10/"

View File

@ -11,4 +11,4 @@
# - syslog-cli
- fog
#- - journald-snd
#- post
- post