3 Commits

3 changed files with 25 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
## [0.1.1] - 2025-12-10
* PKGMGR will now be pulled again
## [0.1.0] - 2025-12-09 ## [0.1.0] - 2025-12-09
* Added Nix support role * Added Nix support role

View File

@@ -6,7 +6,7 @@
- name: update pkgmgr - name: update pkgmgr
shell: | shell: |
source ~/.venvs/pkgmgr/bin/activate source ~/.venvs/pkgmgr/bin/activate
pkgmgr update pkgmgr pkgmgr update pkgmgr --clone-mode shallow
register: pkgmgr_update register: pkgmgr_update
changed_when: "'already up to date' not in (pkgmgr_update.stdout | lower)" changed_when: "'already up to date' not in (pkgmgr_update.stdout | lower)"

View File

@@ -2,9 +2,9 @@
include_role: include_role:
name: '{{ item }}' name: '{{ item }}'
loop: loop:
- dev-git - dev-git
- dev-make - dev-make
- dev-python-yaml - dev-python-yaml
- name: Ensure OpenSSH client is installed - name: Ensure OpenSSH client is installed
community.general.pacman: community.general.pacman:
@@ -27,7 +27,21 @@
mode: '0755' mode: '0755'
become: true become: true
- name: Clone Kevin's Package Manager repository - name: Check if pkgmgr git repo already exists
stat:
path: "{{ PKGMGR_INSTALL_PATH }}/.git"
register: pkgmgr_git_repo
become: true
- name: Remove legacy 'latest' tag from existing pkgmgr repo (if present)
command: git tag -d latest
args:
chdir: "{{ PKGMGR_INSTALL_PATH }}"
when: pkgmgr_git_repo.stat.exists
ignore_errors: true
become: true
- name: Clone Kevin's Package Manager repository (always latest HEAD)
git: git:
repo: "{{ PKGMGR_REPO_URL }}" repo: "{{ PKGMGR_REPO_URL }}"
dest: "{{ PKGMGR_INSTALL_PATH }}" dest: "{{ PKGMGR_INSTALL_PATH }}"
@@ -55,4 +69,4 @@
command: "pkgmgr pull --all" command: "pkgmgr pull --all"
when: MODE_UPDATE | bool when: MODE_UPDATE | bool
- include_tasks: utils/once/flag.yml - include_tasks: utils/once/flag.yml