Actualiser install.yml
This commit is contained in:
parent
edb284fc21
commit
45336c1771
12
install.yml
12
install.yml
@ -6,3 +6,15 @@
|
|||||||
apt:
|
apt:
|
||||||
name: apache2
|
name: apache2
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Copier le fichier HTML vers le répertoire du serveur web
|
||||||
|
copy:
|
||||||
|
src: index.html
|
||||||
|
dest: /var/www/html/index.html
|
||||||
|
mode: '0644'
|
||||||
|
|
||||||
|
- name: S'assurer que le service Apache est démarré
|
||||||
|
service:
|
||||||
|
name: apache2
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
Loading…
x
Reference in New Issue
Block a user