diff --git a/roles/copr/frontend/tasks/main.yml b/roles/copr/frontend/tasks/main.yml index bdb75fcf41..558f07a2b8 100644 --- a/roles/copr/frontend/tasks/main.yml +++ b/roles/copr/frontend/tasks/main.yml @@ -48,6 +48,12 @@ copy: src="httpd/{{ item }}" dest="/etc/httpd/conf.d/{{ item }}" with_items: - "welcome.conf" + tags: + - config + +- name: copy apache files to conf.d (templates) + template: src="httpd/{{ item }}" dest="/etc/httpd/conf.d/{{ item }}" + with_items: - "coprs.conf" tags: - config diff --git a/roles/copr/frontend/files/httpd/coprs.conf b/roles/copr/frontend/templates/httpd/coprs.conf similarity index 100% rename from roles/copr/frontend/files/httpd/coprs.conf rename to roles/copr/frontend/templates/httpd/coprs.conf