---
- name: Copy systemd file into place.
  copy:
    dest: /etc/systemd/system
    src: ../files/nodepool.service

- name: Copy sysconfig file into place.
  copy:
    dest: /etc/sysconfig/nodepool
    src: ../files/nodepool.sysconfig

- name: Enable nodepool service.
  service:
    enabled: yes
    name: nodepool
    state: started

---
- name: Copy systemd file into place.
  copy:
    dest: /etc/systemd/system
    src: ../../files/nodepool.service

- name: Copy sysconfig file into place.
  copy:
    dest: /etc/sysconfig/nodepool
    src: ../../files/nodepool.sysconfig

- name: Enable nodepool service.
  service:
    enabled: yes
    name: nodepool
    state: started

Fix path issue with remote deploy
Fix path issue with remote deploy

Signed-off-by: Paul Belanger <e7139c8e6c4ea75cc1c287ce081b2dc0f3ab39ec@redhat.com>
