Compare commits

..

No commits in common. "4783803a776efe996869325ddb8a6d5953e75dd5" and "6ff50854e0d30535859bf8c5c9fe8e76fa328430" have entirely different histories.

3 changed files with 14 additions and 18 deletions

View File

@ -2,9 +2,8 @@
- import_playbook: UnixGUI.yaml - import_playbook: UnixGUI.yaml
- hosts: localhost - hosts: localhost
roles: roles:
- role: fonts
- role: mas - role: mas
- role: iterm - role: fonts
- role: magnet - role: magnet
- role: obsidian - role: obsidian

View File

@ -1,10 +0,0 @@
---
- assert:
that: ansible_os_family == "Darwin"
- name: install homebrew package
homebrew:
name: iterm2
state: latest
# TODO: Configure stuff, somehow?

View File

@ -14,21 +14,28 @@
failed_when: false failed_when: false
register: terminfo_exists register: terminfo_exists
- name: download latest terminfo description - name: download latest terminal info descriptions
when: terminfo_exists.rc == 1 when: terminfo_exists.rc == 1
get_url: get_url:
url: https://gist.githubusercontent.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color url: https://invisible-island.net/datafiles/current/terminfo.src.gz
dest: ~/tmux-256color dest: ~/terminfo.src.gz
- name: extract latest terminfo info descriptions
when: terminfo_exists.rc == 1
command: /usr/bin/gunzip ~/terminfo.src.gz
- name: compile terminal info - name: compile terminal info
when: terminfo_exists.rc == 1 when: terminfo_exists.rc == 1
command: /usr/bin/tic -x ~/tmux-256color command: /usr/bin/tic -xe tmux-256color ~/terminfo.src
- name: cleanup downloaded terminfo description - name: cleanup downloaded terminal info descriptions
when: terminfo_exists.rc == 1 when: terminfo_exists.rc == 1
file: file:
path: ~/tmux-256color path: '{{item}}'
state: absent state: absent
with_items:
- ~/temrinfo.src.gz
- ~/terminfo.src
- name: check terminal info description exists - name: check terminal info description exists
when: terminfo_exists.rc == 1 when: terminfo_exists.rc == 1