Commit 525c5e2

bryfry <bryon@fryer.io>
2024-05-17 21:15:37
add mc, tree
1 parent 99f5c5e
Changed files (1)
main.yml
@@ -48,6 +48,7 @@
        - strace
        - shellcheck
        - mtr-tiny
+       - tree
        # browser
        - firefox-esr
        # yubikey
@@ -76,7 +77,7 @@
        - ".gnupg"
        - "git"
 
-   - name: binary installs
+   - name: binary installs (archives)
      unarchive:
        src: "{{ item.src }}"
        dest: "{{ item.dest }}"
@@ -102,6 +103,22 @@
        dest: "{{ ansible_env.HOME }}/.local/bin"
        creates: "{{ ansible_env.HOME }}/.local/bin/just"
 
+   - name: binary installs
+     get_url:
+       url: "{{ item.src }}"
+       dest: "{{ item.dest }}"
+     loop: 
+     - src: "https://dl.min.io/client/mc/release/linux-amd64/mc"
+       dest: "{{ ansible_env.HOME }}/.local/bin/mc"
+
+   - name: binary installs - chmod +x
+     file:
+       path: "{{ item.dest }}"
+       state: touch
+       mode: a+x
+     loop: 
+     - dest: "{{ ansible_env.HOME }}/.local/bin/mc"
+
    - name: install nvm
      shell: >
        curl -o - https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
@@ -119,7 +136,7 @@
        executable: "/bin/bash"
        chdir: "{{ ansible_env.HOME }}"
        creates: "{{ ansible_env.HOME }}.nvm/versions/"
-       
+
    - name: git repos
      git:
        repo: "https://github.com/nvim-lua/kickstart.nvim"