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

23 lines
427 B
YAML

# -*- coding: utf-8 -*-
# vim: ft=yaml
---
uninstall_apache:
pkg.removed:
- name: {{ pillar['pkgs']['apache'] }}
remove_html_file:
file.absent:
- name: /var/www/html/index.html
unconfigure_firewall_http:
module.run:
- firewalld.remove_service:
- service: http
- zone: public
unconfigure_firewall_https:
module.run:
- firewalld.remove_service:
- service: https
- zone: public