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 ## Install time: Mon Jan 15 23:16:31 2024
ipaddress='172.16.0.8' ipaddress='172.16.0.8'
copybackold='0' copybackold='0'
interface='eth2' interface='enp0s9'
submask='255.255.255.0' submask='255.255.255.0'
hostname='s-fog.gsb.lan' hostname='s-fog.gsb.lan'
routeraddress='172.16.64.254' routeraddress='172.16.64.254'

View File

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

View File

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