vagrant-saltlab/salt_content/gitfs/salt/webserver/uninstall.sls
John Bowdre a58f8fcc1f minor reorg
- move content to be served via gitfs to salt_content/gitfs
- create structure to hold local content at salt_content/local
- configure Vagrant to rsync salt_content/local to /srv on Salt master
2023-04-08 21:03:29 -05:00

20 lines
384 B
Text

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