Skip to content

Commit

Permalink
ansible script updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Haritest authored Aug 9, 2022
1 parent 96951fc commit 1dbfc5d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ansible/roles/neo4j-backup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
#become: yes
#become_user: learning
command: "{{learner_user_home}}/backup_script.sh"


- name: clean up databases dir after upload
file: path={{learner_user_home}}/backup/databases state=absent

- name: ls backup directory
#become: yes
#become_user: "{{ learner_user }}"
command: ls {{learner_user_home}}/backup/neo4j_*
command: ls {{learner_user_home}}/backup/
register: var1

- name: debugging variable
Expand Down

0 comments on commit 1dbfc5d

Please sign in to comment.