mirror of
https://github.com/ruanbekker/rpi-ansible.git
synced 2025-05-23 23:21:31 +02:00
update software for cloverleaf
This commit is contained in:
parent
59764fee10
commit
aea19fbaad
@ -10,18 +10,21 @@
|
|||||||
msg: "{{ hostvars[inventory_hostname].ansible_default_ipv4.macaddress }}"
|
msg: "{{ hostvars[inventory_hostname].ansible_default_ipv4.macaddress }}"
|
||||||
tags:
|
tags:
|
||||||
- raspi
|
- raspi
|
||||||
|
- sw
|
||||||
|
|
||||||
- name: store MAC address
|
- name: store MAC address
|
||||||
set_fact:
|
set_fact:
|
||||||
my_macaddr: "{{ hostvars[inventory_hostname].ansible_default_ipv4.macaddress }}"
|
my_macaddr: "{{ hostvars[inventory_hostname].ansible_default_ipv4.macaddress }}"
|
||||||
tags:
|
tags:
|
||||||
- raspi
|
- raspi
|
||||||
|
- sw
|
||||||
|
|
||||||
- name: store system configuration
|
- name: store system configuration
|
||||||
set_fact:
|
set_fact:
|
||||||
myconfig: "{{ macaddrs[my_macaddr] }}"
|
myconfig: "{{ macaddrs[my_macaddr] }}"
|
||||||
tags:
|
tags:
|
||||||
- raspi
|
- raspi
|
||||||
|
- sw
|
||||||
|
|
||||||
- name: set hostname
|
- name: set hostname
|
||||||
shell: "raspi-config nonint do_hostname {{ myconfig.hostname }}"
|
shell: "raspi-config nonint do_hostname {{ myconfig.hostname }}"
|
||||||
|
@ -38,7 +38,9 @@ macaddrs:
|
|||||||
enable_onewire: False
|
enable_onewire: False
|
||||||
enable_rgpio: False
|
enable_rgpio: False
|
||||||
extra_software:
|
extra_software:
|
||||||
- w3m
|
- "w3m"
|
||||||
|
- "irssi"
|
||||||
|
- "screen"
|
||||||
|
|
||||||
### Users that must be present on the system
|
### Users that must be present on the system
|
||||||
create_users:
|
create_users:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user