Fix compatibility issues with ansible 2.2.0.0
Change-Id: I2acc56daec1777727945c9171a1775246bd52afd
diff --git a/roles/head-node/tasks/main.yml b/roles/head-node/tasks/main.yml
index a6409ef..68923ce 100644
--- a/roles/head-node/tasks/main.yml
+++ b/roles/head-node/tasks/main.yml
@@ -60,7 +60,7 @@
- name: Ensure Compute and Switch Node Playbooks
become: yes
template:
- src=files/{{ item }}
+ src=templates/{{ item }}
dest=/etc/maas/ansible/{{ item }}
owner=maas
group=maas
@@ -81,7 +81,7 @@
- name: Ensure Compute and Switch Node Variables
become: yes
template:
- src=files/compute-node-vars.yml.j2
+ src=templates/compute-node-vars.yml.j2
dest=/etc/maas/ansible/vars/compute-node-vars.yml
owner=maas
group=maas
@@ -101,7 +101,7 @@
- name: Ensure Dynamic Inventory Script
become: yes
template:
- src=files/pod-inventory
+ src=templates/pod-inventory
dest=/etc/maas/ansible/pod-inventory
owner=maas
group=maas