Skip to content

Commit

Permalink
Merge pull request scylladb#248 from ebenzecri/issue_246
Browse files Browse the repository at this point in the history
ansible-scylla-node: Starts 'scylla-fstrim.timer' service automatically
  • Loading branch information
tarzanek authored Jun 16, 2023
2 parents b97068e + b66cc37 commit fdac60f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible-scylla-node/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
state: started
enabled: yes

- name: Enable and start 'scylla-fstrim.timer' service
ansible.builtin.service:
name: scylla-fstrim.timer
state: started
enabled: yes
become: true

- name: scylla-manager-agent start
become: true
service:
Expand Down
1 change: 1 addition & 0 deletions ansible-scylla-node/tasks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@
- name: configure fstrim
shell: |
scylla_fstrim_setup
notify: Enable and start 'scylla-fstrim.timer' service

- name: configure sysconfig
shell: |
Expand Down

0 comments on commit fdac60f

Please sign in to comment.