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

21 lines
384 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_http:
2023-03-28 14:56:37 +00:00
module.run:
- firewalld.remove_service:
- service: http
- zone: public
unconfigure_firewall_https:
module.run:
- firewalld.remove_service:
- service: https
2023-03-28 14:56:37 +00:00
- zone: public