diff --git a/ansible/cassandra-backup.yml b/ansible/cassandra-backup.yml
index 1c6e6548f571855dc9cace5b3d20339b891476a8..64d7a3f689c0ff9afb8656015f4ce4c0436fdb9d 100644
--- a/ansible/cassandra-backup.yml
+++ b/ansible/cassandra-backup.yml
@@ -1,7 +1,7 @@
 - hosts: cassandra
   become: yes
   vars_files:
-    - ['{{inventory_dir}}/secrets.yml']
+    - ['{{ inventory_dir }}/secrets.yml']
   roles:
     - cassandra-backup
   run_once: true
diff --git a/ansible/roles/cassandra-backup/tasks/main.yml b/ansible/roles/cassandra-backup/tasks/main.yml
index 48cfb4147378fdbaa3f3dcb64d78e9901a001088..a1a507ca663a3eb32d7974434de1a50570e23e03 100755
--- a/ansible/roles/cassandra-backup/tasks/main.yml
+++ b/ansible/roles/cassandra-backup/tasks/main.yml
@@ -1,14 +1,14 @@
 - name: Create the directory
   become: yes
   file: path=/data/cassandra/backup state=directory recurse=yes
-  
-- name: copy the backup script 
+
+- name: copy the backup script
   become: yes
-  template: src=cassandra_backup.j2  dest=/data/cassandra/backup/cassandra_backup.py mode=0755 
+  template: src=cassandra_backup.j2  dest=/data/cassandra/backup/cassandra_backup.py mode=0755
 
 - set_fact:
     cassandra_backup_gzip_file_name: "cassandra-backup-{{ lookup('pipe', 'date +%Y%m%d') }}"
- 
+
 - set_fact:
     cassandra_backup_gzip_file_path: "{{ cassandra_backup_dir }}/{{ cassandra_backup_gzip_file_name }}.tar.gz"
 
@@ -19,22 +19,22 @@
     chdir: /data/cassandra/backup
   async: 7200
   poll: 30
-  
+
 - name: Check doc_root path
   shell: ls -all /data/cassandra/backup/
   register: doc_data
 
 - name: print doc_root to console
   debug:
-    var: doc_data    
- 
+    var: doc_data
+
 - name: Ensure azure blob storage container exists
   command: az storage container create  --name {{ cassandra_backup_azure_container_name }}
   ignore_errors: true
   environment:
     AZURE_STORAGE_ACCOUNT: "{{ backup_azure_storage_account_name }}"
     AZURE_STORAGE_KEY: "{{ backup_azure_storage_access_key }}"
- 
+
 - name: Upload to azure blob storage
   command: az storage blob upload --name "{{ cassandra_backup_gzip_file_name }}".tar.gz --file {{ cassandra_backup_gzip_file_path }} --container-name {{ cassandra_backup_azure_container_name }}
   environment:
@@ -42,6 +42,6 @@
     AZURE_STORAGE_KEY: "{{ backup_azure_storage_access_key }}"
   async: 3600
   poll: 10
-       
+
 - name: clean up backup dir after upload
   file: path="{{ cassandra_backup_dir }}" state=absent