У меня есть следующий анзибль игра:анзибль показать выход рельсов тестирует
- name: run rails tests
hosts: marflar
sudo: yes
sudo_user: vagrant
tags:
- rake
tasks:
- name: configure nokogiri
command: bash -lc "bundle config build.nokogiri --use-system-libraries"
- name: install gems
command: bash -lc "bundle install"
register: bundle_complete
- name: check if database exists
command: bash -lc "bundle exec rake db:version"
ignore_errors: True
register: rake_db_version_result
- name: create database
command: bash -lc "bundle exec rake db:setup"
register: db_setup_complete
when: rake_db_version_result|failed
- name: apply database migrations
command: bash -lc "bundle exec rake db:migrate"
register: db_setup_complete
when: rake_db_version_result|success
- name: running the test suite
command: bash -lc "bundle exec rake test"
when: db_setup_complete
Это хорошо работает, но я не могу увидеть выход bundle exec rake test
только после его завершения. Есть ли способ показать мой тестовый результат, как это происходит?