anaconda/tests/set_tests_to_run_on_remote.yml
Radek Vykydal 1471316eac Import Anaconda functional tests from RHEL 8
Related: rhbz#1961087
2021-06-28 16:27:19 +02:00

18 lines
378 B
YAML

---
# Replace hosts in test playbooks to run on remote host instead of localhost
- hosts: localhost
become: False
gather_facts: False
tasks:
- name: Replace hosts in tests*.yml playbooks
lineinfile:
path: "{{ item }}"
regexp: "- hosts: localhost\\S*"
line: "- hosts: gating_test_runner"
backrefs: yes
with_fileglob:
- tests*.yml