ajout doku
This commit is contained in:
parent
471645b66e
commit
f66fc1b4e4
4
sio2/sisr2/40-Ansible/dokuw/local.yml
Normal file
4
sio2/sisr2/40-Ansible/dokuw/local.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- web
|
||||||
|
- doku
|
7
sio2/sisr2/40-Ansible/dokuw/roles/doku/tasks/main.yml
Normal file
7
sio2/sisr2/40-Ansible/dokuw/roles/doku/tasks/main.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
- name: recuperation dokuwiki-stable.tgz depuis machine depl
|
||||||
|
get_url:
|
||||||
|
url: http://depl/store/dokuwiki-stable.tgz
|
||||||
|
dest: /tmp
|
||||||
|
|
||||||
|
- name: Extraction archive
|
||||||
|
unarchive:
|
9
sio2/sisr2/40-Ansible/dokuw/roles/web/tasks/main.yml
Normal file
9
sio2/sisr2/40-Ansible/dokuw/roles/web/tasks/main.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
- name: installation apache2 php php-gd php-mbstring php-string php-xml
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- apache2
|
||||||
|
- php
|
||||||
|
- php-gd
|
||||||
|
- php-mbstring
|
||||||
|
- php-xml
|
||||||
|
state: present
|
Loading…
x
Reference in New Issue
Block a user