cleans up support scripts
This commit is contained in:
22
playbooks/01-everything.yaml
Normal file
22
playbooks/01-everything.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
- name: Run maintenance playbook
|
||||
ansible.builtin.import_playbook: 02-maintenance.yaml
|
||||
|
||||
- name: Ensure Docker for Docker_Hosts
|
||||
hosts: Docker_Hosts
|
||||
roles:
|
||||
- docker
|
||||
|
||||
- name: Ensure deployment of Docker Compose applications
|
||||
hosts: Docker_Compose_Hosts
|
||||
pre_tasks:
|
||||
- name: Login to GHCR (if credentials provided)
|
||||
community.docker.docker_login:
|
||||
registry_url: ghcr.io
|
||||
username: "{{ ghcr_username }}"
|
||||
password: "{{ ghcr_pat }}"
|
||||
when:
|
||||
- ghcr_username | default('') | length > 0
|
||||
- ghcr_pat | default('') | length > 0
|
||||
become: true
|
||||
roles:
|
||||
- docker_compose
|
||||
Reference in New Issue
Block a user