ostree.yml 417 B

123456789101112131415161718
  1. ---
  2. - name: Copy ostree repo config
  3. copy: >
  4. src=ostree/repo_config
  5. dest=/ostree/repo/config
  6. owner=root
  7. group=root
  8. mode=0644
  9. - name: "WORK AROUND: Stat redhat repo file"
  10. stat: path=/etc/yum.repos.d/redhat.repo
  11. register: redhat_repo
  12. - name: "WORK AROUND: subscription manager failures"
  13. file: >
  14. path=/etc/yum.repos.d/redhat.repo
  15. state=touch
  16. when: redhat_repo.stat.exists == False