From f6f8769666217a68c8a9a19ccfe9f1af22c2522e Mon Sep 17 00:00:00 2001 From: Chaoyi Zha Date: Fri, 12 Jun 2015 13:48:21 +0000 Subject: [PATCH] Don't restart apache each time role is ran --- roles/mote/tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/mote/tasks/main.yml b/roles/mote/tasks/main.yml index e53404141f..fca6aae2d0 100644 --- a/roles/mote/tasks/main.yml +++ b/roles/mote/tasks/main.yml @@ -12,7 +12,6 @@ template: src={{ item.file }} dest="{{ item.location }}/{{ item.file }}" owner=apache group=apache mode=0600 - changed_when: "1 != 1" with_items: - { file: mote_config.py, location: /etc/mote, dest: config.py } - { file: mote.conf, location: /etc/httpd/conf.d }