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
* Added Nix support role

View File

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

View File

@@ -2,9 +2,9 @@
include_role:
name: '{{ item }}'
loop:
- dev-git
- dev-make
- dev-python-yaml
- dev-git
- dev-make
- dev-python-yaml
- name: Ensure OpenSSH client is installed
community.general.pacman:
@@ -27,7 +27,21 @@
mode: '0755'
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:
repo: "{{ PKGMGR_REPO_URL }}"
dest: "{{ PKGMGR_INSTALL_PATH }}"