From dbab833e2169629578774cb2398019eacc45c8bd Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 19 Sep 2018 18:32:49 -0400 Subject: [PATCH] Update main.yml --- roles/httpd/tasks/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index 9604a026f..d5a4adeaf 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -170,6 +170,22 @@ state: absent when: is_debuntu +- name: Copy osm.conf for http://box/maps (all OS's) + copy: + src: osm.conf + dest: "/etc/{{ apache_config_dir }}" + owner: root + group: root + mode: 0644 + backup: yes + +- name: Create link from sites-enabled to sites-available (debuntu) + file: + src: "/etc/{{ apache_config_dir }}/osm.conf" + dest: /etc/apache2/sites-enabled/osm.conf + state: link + when: is_debuntu + - include_tasks: html.yml tags: - base