Adding self installation command for fabrica
This commit is contained in:
20
.packer/provisioning/playbooks/common-appli.yml
Normal file
20
.packer/provisioning/playbooks/common-appli.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Preparation des serveurs d'applications web
|
||||
hosts: all
|
||||
|
||||
environment:
|
||||
http_proxy: "{{ lookup('env','http_proxy') }}"
|
||||
https_proxy: "{{ lookup('env','https_proxy') }}"
|
||||
HTTPS_PROXY: "{{ lookup('env','HTTPS_PROXY') }}"
|
||||
HTTP_PROXY: "{{ lookup('env','HTTP_PROXY') }}"
|
||||
|
||||
tasks:
|
||||
- name: Update package cache
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: Install eole-web
|
||||
apt:
|
||||
name: eole-web
|
||||
state: present
|
||||
|
Reference in New Issue
Block a user