# httpd.conf ~~ /etc/httpd.conf # managed by Ansible types { text/plain txt pgp pub text/html html htm text/css css image/svg+xml svg image/jpeg jpeg jpg image/gif gif image/png png } {% if ansible_host == global.dcontroller %} server "default" { listen on localhost port 8888 location * { block return 302 "https://\$HTTP_HOST\$REQUEST_URI" } } {% endif %} {% for file in configurations.files %} include "{{ file.path }}" {% endfor %}