Compare commits

...

4 Commits

Author SHA1 Message Date
Andrew Coleman 58c1fb442e add jq 2021-04-16 16:39:45 -04:00
Andrew Coleman a18a87a5dc chdir first 2021-04-16 16:39:36 -04:00
Andrew Coleman 335f7ce1bc change stern repo to a maintained project 2021-04-16 16:39:22 -04:00
Andrew Coleman 753b4eb020 use native file module 2021-04-16 16:39:04 -04:00
4 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,12 @@
---
- name: create ~/.local/bin
file:
state: directory
path: "{{ ansible_env.HOME }}/.local/bin"
mode: "0750"
- name: install chezmoi
shell: mkdir -p ~/.local/bin && sh -c "$(curl -fsLS git.io/chezmoi)" && mv ~/bin/chezmoi ~/.local/bin/
shell: sh -c "$(curl -fsLS git.io/chezmoi)" && mv ~/bin/chezmoi ~/.local/bin/
args:
chdir: "{{ ansible_env.HOME }}"
creates: "{{ ansible_env.HOME }}/.local/bin/chezmoi"

View File

@ -80,7 +80,7 @@
- name: install stern-HEAD freebsd
when: ansible_facts['system']|lower == 'freebsd'
shell: go get github.com/wercker/stern && go build github.com/wercker/stern && go install github.com/wercker/stern
shell: go get -u github.com/stern/stern
args:
creates: "{{ ansible_env.HOME }}/go/bin/stern"

View File

@ -14,5 +14,6 @@
- name: Add Layan-dark theme
shell: mkdir -p .themes && cd .themes && curl -Lo layan.tar.xz {{ layan_dark_url }} && tar xvJf layan.tar.xz && rm -f layan.tar.xz
args:
chdir: "{{ ansible_env.HOME }}"
warn: False
creates: "{{ ansible_env.HOME }}/.themes/Layan-dark"

View File

@ -4,7 +4,7 @@
become_user: root
become_method: sudo
community.general.pkgng:
name: libtool,autogen,libuv,gettext,autoconf,automake,gmake,coreutils,bash,tmux,git,most,node,npm,cmake,llvm10
name: libtool,autogen,libuv,gettext,autoconf,automake,gmake,coreutils,bash,tmux,git,most,node,npm,cmake,llvm10,jq
state: present
- name: install desktop pkg applications