diff --git a/roles/osm/tasks/main.yml b/roles/osm/tasks/main.yml index fb2b15952..a644ae6ef 100644 --- a/roles/osm/tasks/main.yml +++ b/roles/osm/tasks/main.yml @@ -133,12 +133,6 @@ state=directory owner={{ apache_user }} group={{ apache_user }} - when: is_debuntu - -- name: copy the default.ini with our location of /library/knowledge - template: src=defaults.ini - dest=/usr/local/lib/python2.7/dist-packages/iiab/defaults.ini - when: is_debuntu # the following was brought into OSM playbook from iiab-factory osm-fix script - name: Get the path for python-redhat @@ -152,6 +146,7 @@ - name: Copy the files template: src={{ item.src }} dest={{ item.dest }} with_items: + - { src: 'defaults.ini', dest: "{{ python_path }}/" }} - { src: 'etc.iiab.conf', dest: '/etc/iiab.conf' } - { src: 'map_search.py', dest: "{{ python_path }}/map_search.py" } - { src: 'map.html', dest: "{{ python_path }}/static/map.html" }