- name: Install mod_ssl
  yum: name=mod_ssl state=installed
  notify:
  - restart httpd
  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:
  - restart httpd
  tags:
  - httpd
  - httpd/certificate
