Adding self installation command for fabrica
This commit is contained in:
26
.packer/provisioning/playbooks/eole/seth.yml
Normal file
26
.packer/provisioning/playbooks/eole/seth.yml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
- name: Transform Ubuntu into an EOLE Server
|
||||
hosts: all
|
||||
|
||||
tasks:
|
||||
- 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 seth module package
|
||||
apt:
|
||||
name: eole-seth-all
|
||||
environment:
|
||||
HTTP_PROXY: "{{ http_proxy }}"
|
||||
HTTPS_PROXY: "{{ https_proxy }}"
|
||||
http_proxy: "{{ http_proxy }}"
|
||||
https_proxy: "{{ https_proxy }}"
|
||||
|
||||
- name: Change hostname
|
||||
hostname:
|
||||
name: seth272
|
Reference in New Issue
Block a user