mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Solved package-manager bugs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
- name: install directory-validator
|
||||
command:
|
||||
cmd: "pkgmgr install directory-validator"
|
||||
cmd: "pkgmgr install directory-validator --clone-mode https"
|
||||
when: run_once_backup_directory_validator is not defined
|
||||
|
||||
- name: run the backup_directory_validator tasks once
|
||||
|
@@ -1,6 +1,6 @@
|
||||
- name: install backup-docker-to-local
|
||||
command:
|
||||
cmd: "pkgmgr install backup-docker-to-local"
|
||||
cmd: "pkgmgr install backup-docker-to-local --clone-mode https"
|
||||
when: run_once_backup_docker_to_local is not defined
|
||||
|
||||
- name: Retrieve backup-docker-to-local path from pkgmgr
|
||||
|
@@ -1,6 +1,6 @@
|
||||
- name: install cleanup-failed-docker-backups
|
||||
command:
|
||||
cmd: "pkgmgr install cleanup-failed-docker-backups"
|
||||
cmd: "pkgmgr install cleanup-failed-docker-backups --clone-mode https"
|
||||
when: run_once_cleanup_failed_docker_backups is not defined
|
||||
|
||||
- name: Retrieve backup-docker-to-local path from pkgmgr
|
||||
|
@@ -1,4 +1,11 @@
|
||||
---
|
||||
- name: Ensure GitHub host key is in known_hosts
|
||||
known_hosts:
|
||||
path: "~/.ssh/known_hosts"
|
||||
name: github.com
|
||||
key: "{{ lookup('pipe', 'ssh-keyscan -t ed25519 github.com | grep -v \"^#\"') }}"
|
||||
become: yes
|
||||
|
||||
- name: Create installation directory for Kevin's Package Manager
|
||||
file:
|
||||
path: "{{ pkgmgr_install_path }}"
|
||||
@@ -31,7 +38,7 @@
|
||||
when: run_once_package_manager is not defined
|
||||
|
||||
- name: Run the Package Manager install command to create an alias for Kevins package manager
|
||||
command: "{{ pkgmgr_install_command }}"
|
||||
command: "make setup"
|
||||
args:
|
||||
chdir: "{{ pkgmgr_install_path }}"
|
||||
become: yes
|
||||
|
@@ -15,6 +15,3 @@ pkgmgr_config_path: "{{pkgmgr_install_path}}/config/config.yaml"
|
||||
|
||||
# The directory where executable aliases will be installed (ensure it's in your PATH)
|
||||
binaries_directory: "/usr/local/bin"
|
||||
|
||||
# The command to run to install/update the Package Manager's aliases
|
||||
pkgmgr_install_command: "./main.py install pkgmgr"
|
||||
|
@@ -22,5 +22,5 @@ galaxy_info:
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- git
|
||||
- package-manager
|
||||
- systemd-notifier
|
||||
|
@@ -1,6 +1,6 @@
|
||||
- name: install auto-btrfs-balancer
|
||||
- name: install btrfs-auto-balancer
|
||||
command:
|
||||
cmd: "pkgmgr install auto-btrfs-balancer"
|
||||
cmd: "pkgmgr install btrfs-auto-balancer --clone-mode https"
|
||||
when: run_once_system_btrfs_auto_balancer is not defined
|
||||
|
||||
- name: configure system-btrfs-auto-balancer.cymais.service
|
||||
|
@@ -4,4 +4,4 @@ OnFailure=systemd-notifier.cymais@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c 'auto-btrfs-balancer 90 10'
|
||||
ExecStart=/bin/sh -c 'btrfs-auto-balancer 90 10'
|
@@ -1,6 +1,6 @@
|
||||
- name: install swap-forge
|
||||
command:
|
||||
cmd: "pkgmgr install backup-docker-to-local"
|
||||
cmd: "pkgmgr install backup-docker-to-local --clone-mode https"
|
||||
become: true
|
||||
|
||||
- name: Execute create swapfile script
|
||||
|
Reference in New Issue
Block a user