swift/tools/playbooks/cors/run.yaml

16 lines
409 B
YAML

- hosts: all
tasks:
- name: Shutdown main swift services
shell: "swift-init stop main"
ignore_errors: true
- name: Start main swift services
shell: "swift-init start main"
- name: Run CORS tests
shell: >
python
{{ ansible_env.HOME }}/{{ zuul.project.src_dir }}/test/cors/main.py
--output {{ ansible_env.HOME }}/cors-test-results.txt
all