syscontainer_packages.yml 741 B

12345678910111213141516171819202122232425262728
  1. ---
  2. - name: Ensure container-selinux is installed
  3. package:
  4. name: container-selinux
  5. state: present
  6. when: not openshift_is_atomic | bool
  7. register: result
  8. until: result is succeeded
  9. # Used to pull and install the system container
  10. - name: Ensure atomic is installed
  11. package:
  12. name: atomic
  13. state: present
  14. when: not openshift_is_atomic | bool
  15. register: result
  16. until: result is succeeded
  17. # At the time of writing the atomic command requires runc for it's own use. This
  18. # task is here in the even that the atomic package ever removes the dependency.
  19. - name: Ensure runc is installed
  20. package:
  21. name: runc
  22. state: present
  23. when: not openshift_is_atomic | bool
  24. register: result
  25. until: result is succeeded