File: stop-redis.yaml

package info (click to toggle)
python-tooz 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 868 kB
  • sloc: python: 5,585; sh: 158; makefile: 27
file content (12 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
# On Ubuntu, just installing the redis-server package starts Redis. As a
# result, when we try to start one via pifpaf it fails because the port
# is already in use.
# See https://bugs.launchpad.net/python-tooz/+bug/1828610
- hosts: all
  name: Stop Redis server before running tests
  tasks:
    - name: Stop Redis
      service:
        name: redis-server
        state: stopped
      become: true