mirror of
https://github.com/cwchristerw/tjas-infra
synced 2025-08-08 21:24:33 +00:00
Fix syntax error in deployer tasks
This commit is contained in:
@@ -13,29 +13,29 @@
|
|||||||
with_filetree: './files/nginx/'
|
with_filetree: './files/nginx/'
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.path }}"
|
label: "{{ item.path }}"
|
||||||
when:
|
when:
|
||||||
- item.state == 'directory'
|
- item.state == 'directory'
|
||||||
tags:
|
tags:
|
||||||
- nginx
|
- nginx
|
||||||
|
|
||||||
- name: "Deployer - Nginx - Configure - Generating & Transferring Files"
|
- name: "Deployer - Nginx - Configure - Generating & Transferring Files"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: '{{ item.src }}'
|
src: '{{ item.src }}'
|
||||||
dest: '~/data/nginx/{{ item.path }}'
|
dest: '~/data/nginx/{{ item.path }}'
|
||||||
with_filetree: './files/nginx/'
|
with_filetree: './files/nginx/'
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.path }}"
|
label: "{{ item.path }}"
|
||||||
when:
|
when:
|
||||||
- item.state == 'file'
|
- item.state == 'file'
|
||||||
tags:
|
tags:
|
||||||
- nginx
|
- nginx
|
||||||
|
|
||||||
- name: "Deployer - Nginx - Pull Image"
|
- name: "Deployer - Nginx - Pull Image"
|
||||||
containers.podman.podman_image:
|
containers.podman.podman_image:
|
||||||
name: docker.io/library/nginx
|
name: docker.io/library/nginx
|
||||||
tag: latest
|
tag: latest
|
||||||
force: true
|
force: true
|
||||||
register: deployerTask3
|
register: deployerTask3
|
||||||
|
|
||||||
- name: "Deployer - Nginx - Run Container"
|
- name: "Deployer - Nginx - Run Container"
|
||||||
containers.podman.podman_container:
|
containers.podman.podman_container:
|
||||||
|
Reference in New Issue
Block a user