various fixes for ansible 2.3 compat
update docker role
set default for docker apt repo
fix quote
revert explicit dependencies, use ansible_user_id rather than ansible_user
don't depend on ansible role
force docker version
Change-Id: I0ba24d829db73559d7d4f16ae89a4661215f3842
diff --git a/roles/compute-node/tasks/i40e_driver.yml b/roles/compute-node/tasks/i40e_driver.yml
index 69c1e96..a178ee1 100644
--- a/roles/compute-node/tasks/i40e_driver.yml
+++ b/roles/compute-node/tasks/i40e_driver.yml
@@ -2,13 +2,13 @@
- name: Copy i40e Interface Driver
unarchive:
src=files/i40e-1.4.25.tar.gz
- dest=/home/{{ ansible_user }}
+ dest=/home/{{ ansible_user_id }}
- name: Build i40e Driver
command: make
args:
chdir: i40e-1.4.25/src
- creates: /home/{{ ansible_user }}/i40e-1.4.25/src/i40e/i40e.ko
+ creates: /home/{{ ansible_user_id }}/i40e-1.4.25/src/i40e/i40e.ko
- name: Unload i40e Driver
become: yes
@@ -35,5 +35,5 @@
- name: Remove Build Files
file:
- path=/home/{{ ansible_user }}/i40e-1.4.25
+ path=/home/{{ ansible_user_id }}/i40e-1.4.25
state=absent