| |
@@ -2,17 +2,17 @@
|
| |
|
| |
- delegate_to: "{{ test_runner_inventory_name }}"
|
| |
block:
|
| |
- - name: Add restraint repo for restraint-rhts on Fedora hosts
|
| |
+ - name: Add restraint repo for restraint-rhts using DNF
|
| |
shell: dnf copr enable -y bpeck/restraint
|
| |
ignore_errors: True
|
| |
- when: "hostvars[test_runner_inventory_name]['is_dnf_os']"
|
| |
+ when: "hostvars[test_runner_inventory_name]['is_dnf_os'] | bool"
|
| |
|
| |
- - name: Add restraint repo for restraint-rhts on RHEL/CentOS hosts
|
| |
+ - name: Add restraint repo for restraint-rhts using YUM
|
| |
block:
|
| |
- package: name=yum-plugin-copr
|
| |
- shell: yum copr -y enable bpeck/restraint
|
| |
ignore_errors: True
|
| |
- when: "hostvars[test_runner_inventory_name]['is_yum_os']"
|
| |
+ when: "hostvars[test_runner_inventory_name]['is_yum_os'] | bool"
|
| |
|
| |
- name: Install the beakerlib requirements
|
| |
package: name={{item}} state=present
|
| |