mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Optimized tests für run once
This commit is contained in:
		| @@ -1,4 +1,3 @@ | ||||
| --- | ||||
| galaxy_info: | ||||
|   author: "Kevin Veen-Birkenbach" | ||||
|   description: "Automates the balancing of Btrfs file systems by cloning the auto-btrfs-balancer repository and configuring a systemd service and timer for regular execution." | ||||
| @@ -10,16 +9,14 @@ galaxy_info: | ||||
|     https://www.veen.world | ||||
|   min_ansible_version: "2.9" | ||||
|   platforms: | ||||
|     - name: Archlinux | ||||
|       versions: | ||||
|         - rolling | ||||
|   - name: Archlinux | ||||
|     versions: | ||||
|     - rolling | ||||
|   galaxy_tags: | ||||
|     - btrfs | ||||
|     - balancing | ||||
|     - filesystem | ||||
|     - automation | ||||
|   - btrfs | ||||
|   - balancing | ||||
|   - filesystem | ||||
|   - automation | ||||
|   repository: "https://github.com/kevinveenbirkenbach/infinito-nexus" | ||||
|   issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues" | ||||
|   documentation: "https://docs.infinito.nexus" | ||||
| dependencies: | ||||
|   - sys-alm-compose | ||||
|   | ||||
| @@ -1,3 +1,11 @@ | ||||
| - name: Load former meta dependencies once | ||||
|   block: | ||||
|   - name: Include moved dependency 'sys-alm-compose' | ||||
|     include_role: | ||||
|       name: sys-alm-compose | ||||
|   - set_fact: | ||||
|       run_once_sys_rpr_btrfs_blnc: true | ||||
|   when: run_once_sys_rpr_btrfs_blnc is not defined | ||||
| - name: "pkgmgr install" | ||||
|   include_role: | ||||
|     name: pkgmgr-install | ||||
| @@ -5,7 +13,7 @@ | ||||
|     package_name: btrfs-auto-balancer | ||||
|  | ||||
| - name: configure sys-rpr-btrfs-blnc.infinito.service | ||||
|   template:  | ||||
|   template: | ||||
|     src: sys-rpr-btrfs-blnc.service.j2 | ||||
|     dest: /etc/systemd/system/sys-rpr-btrfs-blnc.infinito.service | ||||
|   notify: reload sys-rpr-btrfs-blnc.infinito.service | ||||
| @@ -18,4 +26,4 @@ | ||||
|   include_role: | ||||
|     name: sys-timer | ||||
|   vars: | ||||
|     on_calendar:  "{{on_calendar_btrfs_auto_balancer}}" | ||||
|     on_calendar: "{{on_calendar_btrfs_auto_balancer}}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user