| | |
| | | tags: |
| | | - openshift_node_tasks |
| | | |
| | | - name: Install Atomic and pre-pull CRI-O container for CRI-O installation |
| | | hosts: |
| | | - nodes |
| | | - infranodes |
| | | - masters |
| | | become: true |
| | | gather_facts: false |
| | | vars_files: |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml" |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_secret_vars.yml" |
| | | tags: |
| | | - cri-o |
| | | tasks: |
| | | - name: Install atomic on nodes |
| | | yum: |
| | | name: atomic |
| | | state: present |
| | | when: container_runtime == "cri-o" |
| | | |
| | | - name: Pre-pull cri-o image to nodes |
| | | command: "atomic pull --storage ostree registry.access.redhat.com/openshift3/cri-o:latest" |
| | | when: container_runtime == "cri-o" |
| | | |
| | | - name: Configuring glusterfs nodes |
| | | gather_facts: False |
| | | become: yes |