Commit fb1d0d2
Changed files (1)
README.md
@@ -1,19 +1,32 @@
# ansible-chromebook
-An ansible playbook for setting up Ubuntu 16.04 (server + dwm) on a Dell Chromebook 11
+An ansible playbook for setting up Debian Sid (console only) on a Dell Chromebook 11
## raw commands
-#### Bootstrap ansible
-
- * `sudo apt-get install python python-yaml python-jinja2 aptitude python-setuptools`
- * `git clone https://github.com/ansible/ansible.git ~/git/ansible`
- * `source ~/git/ansible/hacking/env-setup`
-
-#### Bootstrap github
-
- * `ssh-keygen`
- * Add key (id_rsa.pub) to github
+#### Bootstrap device
+
+ * basic cli: `sudo apt install git htop vim tmux`
+ * gpg yubikey: `sudo apt install gnupg2 gnupg-agent pinentry-curses scdaemon pcscd`
+ * gpg-agent config (`~/.gnupg/gpg-agent.conf`):
+
+ ```
+ enable-ssh-support
+ pinentry-program /usr/bin/pinentry-curses
+ default-cache-ttl 60
+ max-cache-ttl 120
+ ```
+ * gpg-agent start:
+
+ ```
+ export GPG_TTY="$(tty)"
+ export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh
+ gpgconf --launch gpg-agent
+ gpg-connect-agent updatestartuptty /bye > /dev/null
+ ```
+ * `git clone git@github.com:bryfry/ansible-chromebook.git`
+ * `sudo apt install python3 python3-pip`
+ * `pip3 install git+https://github.com/ansible/ansible.git@devel`
## TODO