Adding self installation command for fabrica
This commit is contained in:
36
.packer/provisioning/playbooks/eole/minio.yml
Normal file
36
.packer/provisioning/playbooks/eole/minio.yml
Normal file
@ -0,0 +1,36 @@
|
||||
---
|
||||
- name: Transform Ubuntu into an EOLE Server
|
||||
hosts: all
|
||||
|
||||
tasks:
|
||||
- name: Add an Apt signing key, for Cadoles
|
||||
apt_key:
|
||||
url: https://vulcain.cadoles.com/cadoles.gpg
|
||||
state: present
|
||||
|
||||
- name: Adding Cadoles devel repository
|
||||
apt_repository:
|
||||
repo: deb https://vulcain.cadoles.com 2.7.2-dev main
|
||||
state: present
|
||||
|
||||
- name: Update cache
|
||||
apt:
|
||||
update_cache: yes
|
||||
environment:
|
||||
HTTP_PROXY: "{{ http_proxy }}"
|
||||
HTTPS_PROXY: "{{ https_proxy }}"
|
||||
http_proxy: "{{ http_proxy }}"
|
||||
https_proxy: "{{ https_proxy }}"
|
||||
|
||||
- name: Install minio package
|
||||
apt:
|
||||
name: eole-minio
|
||||
environment:
|
||||
HTTP_PROXY: "{{ http_proxy }}"
|
||||
HTTPS_PROXY: "{{ https_proxy }}"
|
||||
http_proxy: "{{ http_proxy }}"
|
||||
https_proxy: "{{ https_proxy }}"
|
||||
|
||||
- name: Change hostname
|
||||
hostname:
|
||||
name: minio272
|
Reference in New Issue
Block a user