This commit is contained in:
2020-11-10 15:24:33 +01:00
parent e9c92508ed
commit 2a20abf821
14 changed files with 8722 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#playbook
---
- name: paquets nécessaires
apt:
- name: recuperation dokuwiki-stable.tgz depuis machine depl
get_url:
url: http://depl/store/dokuwiki-stable.tgz
dest: /tmp
- name: Extraction archive
unarchive:
- name: stat rept
stat:
path: /mon/rept
register: rept_stat
- name: On renomme rept en nouveau
command: mv /mon/rept /mon/nouveau
when: rept_stat.stat.exists

View File

@@ -0,0 +1,12 @@
#
---
- name: recuperation dokuwiki-stable.tgz depuis machine depl
get_url:
url: http://depl/store/dokuwiki-stable.tgz
dest: /tmpmem => variable squid ''cache_mem''
*
- name: Extraction archive
unarchive:

View File

@@ -0,0 +1,13 @@
#
---
- hosts:
- name: installation apache2
apt:
name: apache2
state: present
- name:installation PHP
apt:
name: PHP
state: present