projectatomic / atomic-host-tests

A collection of single-host tests for Atomic Host
GNU General Public License v3.0
18 stars 21 forks source link

I-S-T: Add support for running against RHCOS #399

Closed mike-nguyen closed 6 years ago

mike-nguyen commented 6 years ago

Lets add tagging to the improved-sanity-test to run against RHCOS. There is an existing cloud_image tag to run against cloud images so using tag rhcos to run against RHCOS seemed like a good idea. The roles without tags did not work with RHCOS so it will only test a subset of the original improved-sanity-test.

Since RHCOS shares the same ansible_distribution as RHEL AH, I had to use the ansible_distribution_major version to distinguish between RHCOS and RHELAH in docker_storage_verify and selinux_verify.

Also snuck in a small fix for the rpm_ostree_rebase role.

miabbott commented 6 years ago

LGTM! Good catch on those minor fixes