- name: Install mod_ssl
  package: name=mod_ssl state=present
  notify:
  - reload proxyhttpd
  tags:
  - httpd
  - httpd/mod_ssl

- name: Copy over SSLCertificateChainFile if defined
  copy: >
    src=ssl.conf
    dest=/etc/httpd/conf.d/ssl.conf
    owner=root
    group=root
    mode=0644
  notify:
  - reload proxyhttpd
  tags:
  - httpd
  - httpd/certificate

- name: Install haveged for entropy
  package: name=haveged state=present
  tags:
  - httpd
  - httpd/proxy

- name: Set haveged running/enabled
  service: name=haveged enabled=yes state=started
  tags:
  - service
  - httpd
  - httpd/proxy
