renommé : sio2/SISR/09-ansible/syslog-cli.yml -> sio2/SISR/09-ansible/rsyslog/syslog-cli.yml
renommé : sio2/SISR/09-ansible/syslog.yml -> sio2/SISR/09-ansible/rsyslog/syslog.yml supprimé : sio2/SISR/09-ansible/squid.conf.j2 renommé : sio2/SISR/09-ansible/squid.yml -> sio2/SISR/09-ansible/squid/squid.yml renommé : sio2/SISR/09-ansible/index.html -> sio2/SISR/09-ansible/web/index.html renommé : sio2/SISR/09-ansible/web.yml -> sio2/SISR/09-ansible/web/web.yml
This commit is contained in:
1
sio2/SISR/09-ansible/web/index.html
Normal file
1
sio2/SISR/09-ansible/web/index.html
Normal file
@@ -0,0 +1 @@
|
||||
bonjour
|
22
sio2/SISR/09-ansible/web/web.yml
Normal file
22
sio2/SISR/09-ansible/web/web.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- hosts: web
|
||||
tasks:
|
||||
- name: installation de apache2
|
||||
apt:
|
||||
name: apache2
|
||||
state: present
|
||||
|
||||
- name: installation de php
|
||||
apt:
|
||||
name: php
|
||||
state: present
|
||||
|
||||
- name: installation de php-mbstring
|
||||
apt:
|
||||
name: php-mbstring
|
||||
state: present
|
||||
|
||||
- name: inserer un fichier index.html dans /var/www/html
|
||||
template:
|
||||
src: index.html
|
||||
dest: /var/www/html/
|
Reference in New Issue
Block a user