supervisorctl tests: shorten path to .sock file to make OSX happy. (#77)

This commit is contained in:
Felix Fontein 2020-03-31 10:52:24 +02:00 committed by GitHub
commit 74d83d8e94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 7 deletions

View file

@ -1,4 +1,9 @@
- block:
- tempfile:
state: directory
suffix: supervisorctl-tests
register: supervisord_sock_path
- command: 'echo {{ output_dir }}'
register: echo
- set_fact:
@ -36,3 +41,7 @@
- 'uninstall_{{ ansible_distribution }}.yml' # CentOS
- 'uninstall_{{ ansible_os_family }}.yml' # RedHat
- 'uninstall_{{ ansible_system }}.yml' # Linux
- file:
path: '{{ supervisord_sock_path.path }}'
state: absent