Use become: yes for yum_repository task
We need to be root to add repo files.
pre_tasks:
# NOTE(pabelanger): Needed by puppet-openafs package.
- name: Add OpenAFS OpenStack CI build
+ become: yes
yum_repository:
name: openafs
description: OpenAFS OpenStack CI build
