auto-detect thinkpad and macbook

This commit is contained in:
Pig Monkey 2016-01-08 15:50:34 -08:00
parent d79bd08d38
commit 64a7b54218
2 changed files with 8 additions and 5 deletions

View file

@ -5,10 +5,12 @@ Spark is an [Ansible][1] playbook meant to provision a personal machine running
taking the place of any [post-installation][3]), but due to Ansible's
idempotent nature it may also be run on top of an already configured machine.
Spark assumes it will be run on a laptop -- specifically, a ThinkPad -- and
performs some configuration based on this assumption. This behaviour may be
changed by removing the `laptop` and/or `thinkpad` role from the playbook, as
appropriate.
Spark assumes it will be run on a laptop and performs some configuration based
on this assumption. This behaviour may be changed by removing the `laptop` role
from the playbook or by skipping the `laptop` tag.
If Spark is run on either a ThinkPad or a MacBook, it will detect this and
execute platform-specific tasks.
## Running