diff --git a/roles/fog/defaults/main.yml b/roles/fog/defaults/main.yml new file mode 100644 index 0000000..788d0c1 --- /dev/null +++ b/roles/fog/defaults/main.yml @@ -0,0 +1,2 @@ +depl_url: "http://s-adm.gsb.adm/gsbstore/" +depl_fog: "fogproject-1.5.9.tar.gz" diff --git a/roles/fog/tasks/main.yml b/roles/fog/tasks/main.yml index 9f826ea..9e3a106 100644 --- a/roles/fog/tasks/main.yml +++ b/roles/fog/tasks/main.yml @@ -6,10 +6,10 @@ - name: recuperation du fichier d'installation de fog get_url: - url: http://depl/gsbstore/fogproject-1.5.7.tar.gz + url: "{{ depl_url }}/{{ depl_fog }}" dest: /root/fog - name: decompression du fichier d'installation de fog unarchive: - src: /root/fog/fogproject-1.5.7.tar.gz + src: "/root/fog/{{ depl_fog }}" dest: /root/fog