From a5fb4295719b4ac90ca635bc39219b4322b2ab0b Mon Sep 17 00:00:00 2001 From: Chaoyi Zha Date: Wed, 10 Jun 2015 21:41:58 +0000 Subject: [PATCH] Remove unused tasks --- roles/mote/tasks/main.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/roles/mote/tasks/main.yml b/roles/mote/tasks/main.yml index 3a01c81750..adf7f54db3 100644 --- a/roles/mote/tasks/main.yml +++ b/roles/mote/tasks/main.yml @@ -8,26 +8,6 @@ tags: - packages -- name: copy sundry mote configuration - template: src={{ item.file }} - dest={{ item.location }}/{{ item.dest }} - owner=apache group=apache mode=0600 - with_items: - - { file: mote_config.py, location: /etc/mote, dest: config.py } - - { file: alembic.ini, location: /etc/nuancier, dest: alembic.ini } - changed_when: "1 != 1" - tags: - - config - notify: - - restart apache - -- name: create the cache folder where nuancier creates the thumbnails - action: file state=directory - path=/var/cache/nuancier/cache - owner=apache group=apache mode=0700 - tags: - - setup - - name: replace the mote configuration file by the one with the normal user template: src={{ item.file }} dest="{{ item.location }}/{{ item.file }}" @@ -43,11 +23,6 @@ - restart apache - restart memcached -- name: set sebooleans so nuancier can talk to the db - action: seboolean name=httpd_can_network_connect_db - state=true - persistent=true - - name: apply selinux type to static files file: > dest=/usr/lib/python2.7/site-packages/mote/static/