Commit 0bb9929

bryfry <bryon.fryer@gmail.com>
2018-02-19 15:53:26
v2 working
1 parent 9e1ab03
tasks/battery.yml
@@ -10,5 +10,4 @@
   tags: battery
   with_items:
   - https://raw.githubusercontent.com/goles/battery/master/battery
-  - https://raw.githubusercontent.com/holman/spark/master/spark 
 
tasks/git.yml
@@ -0,0 +1,17 @@
+- name: git - email
+  git_config: 
+    name: user.email
+    scope: global
+    value: "{{ git_email }}"
+  tags: git
+
+- name: git - username
+  git_config: 
+    name: user.name
+    scope: global
+    value: "{{ git_username }}"
+  tags: git
+
+# should be a git_config task but that's a TODO I guess
+- name: git - use ssh over https
+  command: git config --global url."git@github.com:".insteadOf "https://github.com/"
tasks/home.yml
@@ -23,19 +23,10 @@
   - vimrc
   - tmux.conf
   - tmux.statusbar.conf
-  # REMOVE < NO X >
-  #- Xmodmap
-  #- Xmodma
-  #- Xmodmaliases
-  #- Xmodmae
-  #- Xmodmarc 
-  #- Xmodmac
-  #- Xmodmaonf
-  #- Xmodmatatusbar.conf
 
 - name: home - symbolic links (ssh config)
   file:
-    src: "{{ home_dir }}/ssh-config" 
+    src: "{{ home_dir }}/ssh_config" 
     dest: "{{ ansible_env.HOME }}/.ssh/config"
     state: link
     force: yes
main.yml
@@ -2,19 +2,10 @@
 - hosts: local
 
   vars: 
-    st_dir: "{{ ansible_env.HOME }}/git/st"
-    dwm_dir: "{{ ansible_env.HOME }}/git/dwm"
-    slock_dir: "{{ ansible_env.HOME }}/git/slock"
     home_dir: "{{ ansible_env.HOME }}/git/home"
-    lastpass_dir: "{{ ansible_env.HOME }}/git/lastpass-cli"
-    fonts_dir: "{{ ansible_env.HOME}}/.fonts"
     git_email: "bryon.fryer@gmail.com"
     git_username: "bryfry"
-    golang_tar: https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz
-    scp_url: https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip  
-    scp_dir: source-code-pro-2.030R-ro-1.050R-it
     terminus_font_file: "ter-powerline-v12n.psf.gz"
-    
 
   tasks:  
   - name: apt - update && upgrade && autoremove
@@ -54,29 +45,8 @@
     - wpasupplicant
     # laptop tools
     - powertop
-
-    # removed
-    #- x11-apps
-    #- ffmpeg
-    #- mplayer
-    #- netpbm
-    #- bluez
-    #- bluez-tools
-    #- chromium-browser
   
-      #- include: tasks/ntp.yml
-      #- include: tasks/audio.yml
-      #- include: tasks/st.yml
-      #- include: tasks/dwm.yml
-      #- include: tasks/slock.yml
   - include: tasks/home.yml
   - include: tasks/battery.yml
   - include: tasks/consolefont.yml
-      #- include: tasks/xorg.yml
-      #- include: tasks/systemd.yml
-      #- include: tasks/lastpass.yml
-      #- include: tasks/sourcecodepro.yml
-      #- include: tasks/golang.yml
-      #- include: tasks/git.yml
-
-
+  - include: tasks/git.yml
README.md
@@ -52,29 +52,30 @@ An ansible playbook for setting up Debian Sid (console only) on a Dell Chromeboo
 
 ## TODO 
 
-  - [ ] `git config --global user.email "bryon@fryer.io"`
-  - [ ] `git config --global user.name "bryfry"`
-  - [ ] `git config --global url."git@github.com:".insteadOf "https://github.com/"`
   - [ ] powertop systemd service
   - [ ] battery charge logs
   - [ ] improve wifi setup (script?)
-  - [ ] dwm - autostart firefox on tag2
-  - [ ] install golang
+  - [ ] power button sensitivity
+  - [ ] lock screen
 
 ## TODO maybe
 
   - [ ] zram
   - [ ] audio drivers
-  - [ ] dwm - statusbar
-  - [ ] fix hw errors at initial login
+  - [ ] fix hw/lvm errors at initial login
   - [ ] improve boot speed (ext4)
 
 ## Done
 
+  - [x] `git config --global user.email "bryon@fryer.io"`
+  - [x] `git config --global user.name "bryfry"`
+  - [x] `git config --global url."git@github.com:".insteadOf "https://github.com/"`
+
+## Done v1
+
   - [x] australian style trackpad, sidescrolling?
   - [x] remove right click trackpad area
   - [x] home directory dotfiles
-  - [x] power button sensitivity
   - [x] screen recording
   - [x] systemd/X lock screen
   - [x] paste into st - no shift insert