--- - name: Add common yum repositories yum_repository: name: "{{ item.name }}" file: "{{ item.filename }}" description: "{{ item.desc }}" baseurl: "{{ item.baseurl }}" gpgkey: "{{ item.gpgkey }}" gpgcheck: "{{ item.gpgcheck | default('yes') }}" sslverify: "{{ item.sslverify | default('yes') }}" enabled: "{{ item.enabled }}" loop: "{{ yum_repositories }}" loop_control: label: "{{ item.name }}" notify: __yum_upgrade become: True become_user: root