diff --git a/tests/functional/setup.yml b/tests/functional/setup.yml index 0b684f02c..0b8f78ffe 100644 --- a/tests/functional/setup.yml +++ b/tests/functional/setup.yml @@ -31,6 +31,34 @@ value: 0 when: ansible_distribution == 'CentOS' + - name: install epel + package: + name: epel-release + state: present + when: + - ansible_distribution == 'CentOS' + - not is_atomic + + - name: enable local epel repository + ini_file: + path: /etc/yum.repos.d/epel.repo + section: epel + option: baseurl + value: http://apt-mirror.front.sepia.ceph.com/epel7/ + when: + - ansible_distribution == 'CentOS' + - not is_atomic + + - name: disable remote epel repository + ini_file: + path: /etc/yum.repos.d/epel.repo + section: epel + option: metalink + state: absent + when: + - ansible_distribution == 'CentOS' + - not is_atomic + - name: resize logical volume for root partition to fill remaining free space command: lvresize -l +100%FREE /dev/atomicos/root when: is_atomic