This commit is contained in:
parent
2cda1c99ea
commit
15c47dd536
1 changed files with 11 additions and 3 deletions
14
deploy.yml
14
deploy.yml
|
|
@ -35,10 +35,18 @@
|
|||
- name: Container present test
|
||||
community.docker.docker_container:
|
||||
name: ansible_deployed
|
||||
state: present
|
||||
image: ubuntu:24.04
|
||||
command: sleep infinity
|
||||
state: absent
|
||||
|
||||
- name: Registry cache
|
||||
community.docker.docker_container:
|
||||
name: registry_cache
|
||||
state: started
|
||||
restart_policy: unless-stopped
|
||||
image: mirror.ghcr.io/registry:2
|
||||
env:
|
||||
REGISTRY_PROXY_REMOTEURL: https://registry-1.docker.io
|
||||
REGISTRY_PROXY_USERNAME: stelb
|
||||
REGISTRY_PROXY_PASSWORD: "{{ DOCKER_IO_PASSWORD }}"
|
||||
|
||||
- name: add docker rules to ufw
|
||||
blockinfile:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue