diff --git a/ansible/roles/monasca/tasks/config.yml b/ansible/roles/monasca/tasks/config.yml index aa81463bfb..454452270e 100644 --- a/ansible/roles/monasca/tasks/config.yml +++ b/ansible/roles/monasca/tasks/config.yml @@ -40,7 +40,7 @@ become: true register: monasca_api_confs with_items: - - api-config.conf + - api.conf - api-config.ini when: - inventory_hostname in groups[service['group']] diff --git a/ansible/roles/monasca/templates/monasca-api/api-config.conf.j2 b/ansible/roles/monasca/templates/monasca-api/api.conf.j2 similarity index 100% rename from ansible/roles/monasca/templates/monasca-api/api-config.conf.j2 rename to ansible/roles/monasca/templates/monasca-api/api.conf.j2 diff --git a/ansible/roles/monasca/templates/monasca-api/monasca-api.json.j2 b/ansible/roles/monasca/templates/monasca-api/monasca-api.json.j2 index 66dcce588a..0ccd4b3b11 100644 --- a/ansible/roles/monasca/templates/monasca-api/monasca-api.json.j2 +++ b/ansible/roles/monasca/templates/monasca-api/monasca-api.json.j2 @@ -4,8 +4,8 @@ "command": "/usr/sbin/{{ monasca_cmd }} -DFOREGROUND", "config_files": [ { - "source": "{{ container_config_directory }}/api-config.conf", - "dest": "/etc/monasca/api-config.conf", + "source": "{{ container_config_directory }}/api.conf", + "dest": "/etc/monasca/api.conf", "owner": "monasca", "perm": "0600" },