Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.23 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.23 KB

Ansible playbooks

Some helpfull playbooks for your bpi-cm4

  • enable/disable wifi physical support (can prevent board from heating up)
  • enable/disable ramlog/zram
  • add sudo permission for daily user

Avallable variables

disable_wifi: true     # enable wifi or not
ramlog_enable: true  # enable ramlog or not
everyday_user: pi     # user for everyday use, usually pi

Example

# disable wifi module
ansible-playbook bpi-cm4-armbian-setup.yml -e "wifi_enable=false"
  • erase local EMMC with mmc(default) command or dd

Avallable variables

emmc_disk: mmcblk1        # until a better storage selection method is found manual specification is used
dd_block_count: 14910     # size of the emmc in block, bpi-cm4 v1.à release is 16Gb only
brute_force_erase: false  # dd method's used when 'mmc erase' doesn't exist,"mmc"'s faster but not necessarily available on your distro
all_partitions: false     # do wipe all emmc partitions?

Example

# erase my_host EMMC
ansible-playbook bpi-cm4-emmc-erase.yml -l my_host