blob: d64adfec0b8ff249853dcae2d7becb2b8e4fa8f7 [file] [log] [blame]
David K. Bainbridge317e7d72016-05-11 08:31:44 -07001---
2- name: Applications
3 become: yes
4 apt: name={{ item }} state=present
5 with_items:
6 - build-essential
7
8- name: Set Default Password
9 become: yes
10 user:
11 name=ubuntu
12 password="$6$TjhJuOgh8xp.v$z/4GwFbn5koVmkD6Ex9wY7bgP7L3uP2ujZkZSs1HNdzQdz9YclbnZH9GvqMC/M1iwC0MceL05.13HoFz/bai0/"
13
14- name: Verify i40e Driver
15 command: modinfo --field=version i40e
16 register: i40e_version
17 changed_when: False
18
19- name: Update i40e Driver
20 include: tasks/i40e_driver.yml
21 when: i40e_version.stdout != '1.4.25'
22
23- name: Consistent Interface Naming
24 become: yes
25 script: files/rename_ifaces.sh {{ fabric_ip }}
26 register: ifaces_changed
27 changed_when: ifaces_changed.stdout != "false"
28
29- name: Reboot Required
30 become: yes
31 command: /sbin/reboot
32 when: ifaces_changed.stdout != "false"