update software for cloverleaf

This commit is contained in:
Glenn K. Lockwood 2018-10-29 00:30:05 -07:00
parent 59764fee10
commit aea19fbaad
2 changed files with 6 additions and 1 deletions

View File

@ -10,18 +10,21 @@
msg: "{{ hostvars[inventory_hostname].ansible_default_ipv4.macaddress }}"
tags:
- raspi
- sw
- name: store MAC address
set_fact:
my_macaddr: "{{ hostvars[inventory_hostname].ansible_default_ipv4.macaddress }}"
tags:
- raspi
- sw
- name: store system configuration
set_fact:
myconfig: "{{ macaddrs[my_macaddr] }}"
tags:
- raspi
- sw
- name: set hostname
shell: "raspi-config nonint do_hostname {{ myconfig.hostname }}"

View File

@ -38,7 +38,9 @@ macaddrs:
enable_onewire: False
enable_rgpio: False
extra_software:
- w3m
- "w3m"
- "irssi"
- "screen"
### Users that must be present on the system
create_users: