adapt diverses
This commit is contained in:
parent
924a11f843
commit
1e30fd87a9
@ -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'
|
||||||
|
@ -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/"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user