12345678910111213141516171819 |
- ---
- # TODO: package this?
- - name: Copy static master scripts
- copy:
- src: "{{ item }}"
- dest: "/usr/local/bin/"
- mode: 0500
- with_items:
- - "scripts/{{ l_runtime }}/master-exec"
- - "scripts/{{ l_runtime }}/master-logs"
- - "scripts/{{ l_runtime }}/master-restart"
- vars:
- l_runtime: "{{ 'crio' if openshift_use_crio | default(False) else 'docker' }}"
- - name: Ensure cri-tools installed
- package:
- name: cri-tools
- state: present
- when: openshift_use_crio | default(False)
|