From 2fabc01bf4f0cc6d349a89585b310ad04c3d5322 Mon Sep 17 00:00:00 2001 From: Daniel Horak Date: Mon, 18 Feb 2019 15:05:34 +0100 Subject: [PATCH] use 00_ prefix for tendrl-ssl.conf --- roles/tendrl-httpd-ssl/tasks/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/tendrl-httpd-ssl/tasks/main.yml b/roles/tendrl-httpd-ssl/tasks/main.yml index 85110d98..0a463e3b 100644 --- a/roles/tendrl-httpd-ssl/tasks/main.yml +++ b/roles/tendrl-httpd-ssl/tasks/main.yml @@ -11,15 +11,15 @@ name: mod_ssl state: latest -- name: Initialize new tendrl-ssl.conf file based on sample conf file +- name: Initialize new 00_tendrl-ssl.conf file based on sample conf file copy: src: /etc/httpd/conf.d/tendrl-ssl.conf.sample remote_src: True - dest: /etc/httpd/conf.d/tendrl-ssl.conf + dest: /etc/httpd/conf.d/00_tendrl-ssl.conf - name: Replace ssl_virtualhost_ip with the correct ip address lineinfile: - path: /etc/httpd/conf.d/tendrl-ssl.conf + path: /etc/httpd/conf.d/00_tendrl-ssl.conf regexp: '^' line: "" notify: @@ -27,7 +27,7 @@ - name: Adjust ServerName lineinfile: - path: /etc/httpd/conf.d/tendrl-ssl.conf + path: /etc/httpd/conf.d/00_tendrl-ssl.conf insertafter: '' regexp: '^ *ServerName .*' line: " ServerName {{ httpd_server_name }}" @@ -41,7 +41,7 @@ - name: Configure SSL certificate files lineinfile: - path: /etc/httpd/conf.d/ssl.conf + path: /etc/httpd/conf.d/00_tendrl-ssl.conf regexp: "{{ item.regexp }}" line: "{{ item.line }}" with_items: