Compare commits
No commits in common. "e48bbf895e0a85b3c0aab32aa0ec8c711a1d80f9" and "22de5ba8ee6bb5edc25bcb17466af43c965de4f9" have entirely different histories.
e48bbf895e
...
22de5ba8ee
|
@ -8,14 +8,14 @@
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
when: ansible_facts['system']|lower == "freebsd"
|
when: ansible_facts['system']|lower == 'freebsd'
|
||||||
community.general.pkgng:
|
community.general.pkgng:
|
||||||
name: sops
|
name: sops
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: install sops linux
|
- name: install sops linux
|
||||||
command: curl -Lo ~/.local/bin/sops https://github.com/mozilla/sops/releases/download/v3.7.1/sops-v3.7.1.linux
|
command: curl -Lo ~/.local/bin/sops https://github.com/mozilla/sops/releases/download/v3.7.1/sops-v3.7.1.linux
|
||||||
when: ansible_facts['system']|lower == "linux"
|
when: ansible_facts['system']|lower == 'linux'
|
||||||
args:
|
args:
|
||||||
creates: "{{ ansible_env.HOME }}/.local/bin/sops"
|
creates: "{{ ansible_env.HOME }}/.local/bin/sops"
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
when: ansible_facts['system']|lower == "freebsd"
|
when: ansible_facts['system']|lower == 'freebsd'
|
||||||
community.general.pkgng:
|
community.general.pkgng:
|
||||||
name: helm
|
name: helm
|
||||||
state: present
|
state: present
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
when: ansible_facts['system']|lower == "freebsd"
|
when: ansible_facts['system']|lower == 'freebsd'
|
||||||
community.general.pkgng:
|
community.general.pkgng:
|
||||||
name: kubectl
|
name: kubectl
|
||||||
state: present
|
state: present
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
when: ansible_facts['system']|lower == "freebsd"
|
when: ansible_facts['system']|lower == 'freebsd'
|
||||||
community.general.pkgng:
|
community.general.pkgng:
|
||||||
name: kops
|
name: kops
|
||||||
state: present
|
state: present
|
||||||
|
@ -64,28 +64,19 @@
|
||||||
warn: False
|
warn: False
|
||||||
creates: "{{ ansible_env.HOME }}/.local/bin/kops"
|
creates: "{{ ansible_env.HOME }}/.local/bin/kops"
|
||||||
|
|
||||||
- name: clone k9s-HEAD
|
- name: clone k9s git
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: 'https://github.com/derailed/k9s.git'
|
repo: 'https://github.com/derailed/k9s.git'
|
||||||
dest: "{{ ansible_env.HOME }}/dev/k9s"
|
dest: "{{ ansible_env.HOME }}/dev/k9s"
|
||||||
|
|
||||||
- name: build k9s-HEAD
|
- name: build k9s-HEAD
|
||||||
ansible.builtin.command: gmake build
|
ansible.builtin.shell: "gmake build && install -m 755 ./execs/k9s ~/.local/bin/k9s"
|
||||||
args:
|
args:
|
||||||
chdir: "{{ ansible_env.HOME }}/dev/k9s"
|
chdir: "{{ ansible_env.HOME }}/dev/k9s"
|
||||||
creates: "{{ ansible_env.HOME }}/dev/k9s/execs/k9s"
|
creates: "{{ ansible_env.HOME }}/.local/bin/k9s"
|
||||||
|
|
||||||
- name: install k9s-HEAD
|
|
||||||
become: yes
|
|
||||||
become_user: root
|
|
||||||
become_method: sudo
|
|
||||||
ansible.builtin.command: install -m 755 ./execs/k9s /usr/local/bin/k9s
|
|
||||||
args:
|
|
||||||
chdir: "{{ ansible_env.HOME }}/dev/k9s"
|
|
||||||
creates: "/usr/local/bin/k9s"
|
|
||||||
|
|
||||||
- name: install stern-HEAD freebsd
|
- name: install stern-HEAD freebsd
|
||||||
when: ansible_facts['system']|lower == "freebsd"
|
when: ansible_facts['system']|lower == 'freebsd'
|
||||||
shell: go get -u github.com/stern/stern
|
shell: go get -u github.com/stern/stern
|
||||||
args:
|
args:
|
||||||
creates: "{{ ansible_env.HOME }}/go/bin/stern"
|
creates: "{{ ansible_env.HOME }}/go/bin/stern"
|
||||||
|
@ -118,51 +109,3 @@
|
||||||
url: https://raw.githubusercontent.com/ahmetb/kubectx/master/completion/kubens.bash
|
url: https://raw.githubusercontent.com/ahmetb/kubectx/master/completion/kubens.bash
|
||||||
dest: "{{ ansible_env.HOME }}/.bashrc.d/"
|
dest: "{{ ansible_env.HOME }}/.bashrc.d/"
|
||||||
mode: "0640"
|
mode: "0640"
|
||||||
|
|
||||||
- name: clone skopeo-HEAD
|
|
||||||
ansible.builtin.git:
|
|
||||||
repo: "https://github.com/containers/skopeo.git"
|
|
||||||
dest: "{{ ansible_env.HOME }}/go/src/github.com/containers/skopeo"
|
|
||||||
|
|
||||||
- name: build skopeo-HEAD
|
|
||||||
command: gmake
|
|
||||||
args:
|
|
||||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/containers/skopeo"
|
|
||||||
creates: "{{ ansible_env.HOME }}/go/src/github.com/containers/skopeo/bin/skopeo"
|
|
||||||
|
|
||||||
- name: install skopeo-HEAD
|
|
||||||
become: yes
|
|
||||||
become_user: root
|
|
||||||
become_method: sudo
|
|
||||||
command: gmake install
|
|
||||||
args:
|
|
||||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/containers/skopeo/"
|
|
||||||
creates: "/usr/local/bin/skopeo"
|
|
||||||
|
|
||||||
- name: install umoci-HEAD
|
|
||||||
command: go install github.com/opencontainers/umoci/cmd/umoci@latest
|
|
||||||
args:
|
|
||||||
creates: "{{ ansible_env.HOME }}/go/bin/umoci"
|
|
||||||
|
|
||||||
- name: clone runj
|
|
||||||
when: ansible_facts['system']|lower == "freebsd"
|
|
||||||
ansible.builtin.git:
|
|
||||||
repo: "git@github.com:samuelkarp/runj.git"
|
|
||||||
dest: "{{ ansible_env.HOME }}/go/src/github.com/samuelkarp/runj"
|
|
||||||
|
|
||||||
- name: build runj
|
|
||||||
when: ansible_facts['system']|lower == "freebsd"
|
|
||||||
command: make
|
|
||||||
args:
|
|
||||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/samuelkarp/runj"
|
|
||||||
creates: "{{ ansible_env.HOME }}/go/src/github.com/samuelkarp/runj/bin/runj"
|
|
||||||
|
|
||||||
- name: install runj
|
|
||||||
become: yes
|
|
||||||
become_user: root
|
|
||||||
become_method: sudo
|
|
||||||
when: ansible_facts['system']|lower == "freebsd"
|
|
||||||
command: make install
|
|
||||||
args:
|
|
||||||
chdir: "{{ ansible_env.HOME }}/go/src/github.com/samuelkarp/runj"
|
|
||||||
creates: "/usr/local/bin/runj"
|
|
||||||
|
|
2
pkg.yml
2
pkg.yml
|
@ -4,7 +4,7 @@
|
||||||
become_user: root
|
become_user: root
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
community.general.pkgng:
|
community.general.pkgng:
|
||||||
name: libtool,autogen,libuv,gettext,autoconf,automake,gmake,coreutils,bash,the_silver_searcher,tmux,git,most,neovim,node,npm,cmake,llvm10,jq,gsed,lsd,py38-httpie,fzf,direnv,py38-glances,htop,sqlite3,gpgme,libassuan,go-md2man,golangci-lint
|
name: libtool,autogen,libuv,gettext,autoconf,automake,gmake,coreutils,bash,the_silver_searcher,tmux,git,most,neovim,node,npm,cmake,llvm10,jq,gsed,lsd,py38-httpie,fzf,direnv,py38-glances,htop,sqlite3
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: install desktop pkg applications
|
- name: install desktop pkg applications
|
||||||
|
|
Reference in New Issue