---
- 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: "node.service.j2"
  when: not openshift_is_atomic | bool
  notify:
  - reload systemd units

- name: Install node system container
  import_tasks: node_system_container.yml
  when: openshift_is_atomic | bool


- import_tasks: config/configure-node-settings.yml
- import_tasks: configure-proxy-settings.yml
