45-ansible/
This commit is contained in:
18
sio2/sisr/45-ansible/tpansible/web.yml
Normal file
18
sio2/sisr/45-ansible/tpansible/web.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
- hosts: web
|
||||
tasks:
|
||||
- name: Installation apache2
|
||||
apt:
|
||||
name: apache2
|
||||
state: present
|
||||
- name: Installation php
|
||||
apt:
|
||||
name: php
|
||||
state: present
|
||||
- name: Installation php-mbstring
|
||||
apt:
|
||||
name: php-mbstring
|
||||
state: present
|
||||
- name: Copie index.html
|
||||
copy:
|
||||
src: index.html
|
||||
dest: /var/www/html/
|
Reference in New Issue
Block a user