mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized tests für run once
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
description: "Updates Docker Compose instances by detecting changes in Docker image digests and rebuilding containers when necessary. This role automates Docker image pulls and container rebuilds."
|
||||
@@ -10,21 +9,19 @@ galaxy_info:
|
||||
https://www.veen.world
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- all
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- all
|
||||
galaxy_tags:
|
||||
- docker
|
||||
- update
|
||||
- compose
|
||||
- images
|
||||
- systemd
|
||||
- maintenance
|
||||
- docker
|
||||
- update
|
||||
- compose
|
||||
- images
|
||||
- systemd
|
||||
- maintenance
|
||||
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
|
||||
documentation: "https://docs.infinito.nexus"
|
||||
dependencies:
|
||||
- sys-lock
|
||||
|
@@ -1,9 +1,17 @@
|
||||
- name: Load former meta dependencies once
|
||||
block:
|
||||
- name: Include moved dependency 'sys-lock'
|
||||
include_role:
|
||||
name: sys-lock
|
||||
- set_fact:
|
||||
run_once_update_docker: true
|
||||
when: run_once_update_docker is not defined
|
||||
- name: "start sys-bkp-docker-2-loc-everything.infinito.service"
|
||||
systemd:
|
||||
name: sys-bkp-docker-2-loc-everything.infinito.service
|
||||
state: started
|
||||
when:
|
||||
- mode_backup | bool
|
||||
when:
|
||||
- mode_backup | bool
|
||||
|
||||
- name: create {{update_docker_script}}
|
||||
template:
|
||||
@@ -11,7 +19,7 @@
|
||||
dest: "{{update_docker_script}}"
|
||||
|
||||
- name: configure update-docker.infinito.service
|
||||
template:
|
||||
template:
|
||||
src: update-docker.service.j2
|
||||
dest: /etc/systemd/system/update-docker.infinito.service
|
||||
|
||||
|
Reference in New Issue
Block a user