Premier commit
This commit is contained in:
commit
518c7ab04b
49 files changed
+1120
No files matched your search
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: "uninstall Apache"
|
||||
hosts: ansible.debian-Formateur
|
||||
|
||||
tasks:
|
||||
- name: "stop Apache"
|
||||
become: yes
|
||||
ansible.builtin.service:
|
||||
name: apache2
|
||||
state: stopped
|
||||
|
||||
- name: "Remove Apache"
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
name: "apache2"
|
||||
state: "absent"
|
||||
|
||||
- name: "Delete index.html"
|
||||
become: yes
|
||||
ansible.builtin.file:
|
||||
path: /var/www/html/index.html
|
||||
state: absent
|
||||
Reference in new issue
Block a user