vagrant-saltlab/srv/salt/webserver/uninstall.sls

17 lines
321 B
Text
Raw Normal View History

uninstall_apache:
pkg.removed:
- name: {{ pillar['pkgs']['apache'] }}
remove_html_file:
file.absent:
- name: /var/www/html/index.html
2023-03-28 14:56:37 +00:00
unconfigure_firewall:
module.run:
- firewalld.remove_service:
- service: webserver
- zone: public
- firewalld.delete_service:
- name: webserver