Adding self installation command for fabrica
This commit is contained in:
32
.packer/provisioning/playbooks/nineboard.yml
Normal file
32
.packer/provisioning/playbooks/nineboard.yml
Normal file
@ -0,0 +1,32 @@
|
||||
---
|
||||
- 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: Setting EOLE Dev apt repository
|
||||
expect:
|
||||
command: Query-Auto -D
|
||||
responses:
|
||||
'\[non\]':
|
||||
- "oui"
|
||||
echo: yes
|
||||
timeout: 900
|
||||
|
||||
- name: Installing ninegate
|
||||
apt:
|
||||
name:
|
||||
- eole-nineboard
|
||||
- nineboard-apps
|
||||
state: present
|
||||
|
||||
- name: Back to normal EOLE apt repository
|
||||
command: Query-Auto
|
||||
|
||||
- name: Generate patch
|
||||
command: gen_patch
|
Reference in New Issue
Block a user