12345678910111213141516171819202122 |
- ---
- - name: Copy node script to the node
- copy:
- src: openshift-node
- dest: /usr/local/bin/openshift-node
- mode: 0500
- - name: Install Node service file
- template:
- dest: "/etc/systemd/system/{{ openshift_service_type }}-node.service"
- src: "{{ openshift_is_containerized | bool | ternary('openshift.docker.node.service', 'node.service.j2') }}"
- when: not l_is_node_system_container | bool
- notify:
- - reload systemd units
- - restart node
- - when: openshift_is_containerized | bool
- block:
- - name: include node deps docker service file
- include_tasks: config/install-node-deps-docker-service-file.yml
- - include_tasks: config/configure-node-settings.yml
- - include_tasks: config/configure-proxy-settings.yml
|