Ajout du tp ansible
This commit is contained in:
7
sisr2/sisr/30-ansinble/doku/local.yml
Normal file
7
sisr2/sisr/30-ansinble/doku/local.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
roles:
|
||||
- web
|
||||
- doku
|
||||
|
||||
10
sisr2/sisr/30-ansinble/doku/main.yml
Normal file
10
sisr2/sisr/30-ansinble/doku/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: installation apache2
|
||||
apt:
|
||||
name: apache2
|
||||
state: present
|
||||
with_items:
|
||||
- apache2
|
||||
- php
|
||||
- php-mbstring
|
||||
- php-gd
|
||||
- php-xml
|
||||
Reference in New Issue
Block a user