rajout play cleanup
This commit is contained in:
14
0cleanup.yml
Normal file
14
0cleanup.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: clean up what's been done
|
||||
hosts: all
|
||||
become: true
|
||||
user: ansible
|
||||
tasks:
|
||||
- name: uninstall httpd
|
||||
yum:
|
||||
name: httpd
|
||||
state: absent
|
||||
|
||||
- name: remove docRoot
|
||||
file:
|
||||
path: /var/www/html
|
||||
state: absent
|
||||
Reference in New Issue
Block a user