configpolicy/websites.yml

24 lines
631 B
YAML

- hosts: public-web
vars:
apache_default_ssl_vhost: false
roles:
- apache
- websites/pyrocufflink.net
- websites/dustin.hatch.name
- websites/ebonfire.com
- websites/nratonpass.com
- websites/darkchestofwonders.us
- role: cert
cert_src: websites/chmod777.sh.cer
cert_dest: /etc/pki/tls/certs/chmod777.sh.cer
cert_key_src: websites/chmod777.sh.key
cert_key_dest: /etc/pki/tls/private/chmod777.sh.key
tags: websites/chmod777.sh
- role: websites/chmod777.sh
tags: websites/chmod777.sh
tasks:
- name: ensure httpd service is running
service:
name=httpd
state=started