14 lines
323 B
Makefile
14 lines
323 B
Makefile
# set dotenv-load := true
|
|
set shell := ["bash","-eu","-o","pipefail","-c"]
|
|
|
|
run: setup
|
|
ts=$(date '+%FT%TZ')
|
|
mkdir -p "runs/${ts}"
|
|
cd ${ts}
|
|
sudo dmidecode > dmidecode
|
|
rye run ansible localhost -m ansible.builtin.setup > ansible.builtin.setup.json
|
|
inxi --expanded > inxi.expanded
|
|
|
|
setup:
|
|
rye sync
|