fix
This commit is contained in:
parent
a251e593c6
commit
73f93631c2
@ -1,6 +1,6 @@
|
|||||||
# Common #
|
# Common #
|
||||||
namespace: ghp
|
namespace: ghp
|
||||||
docker_registry: registry.geekhome.org/ghp
|
docker_registry: gitea.geekhome.org/ghp
|
||||||
domain: example.com
|
domain: example.com
|
||||||
mail_domain: "{{ domain }}"
|
mail_domain: "{{ domain }}"
|
||||||
local_domain: lan
|
local_domain: lan
|
||||||
|
@ -15,6 +15,11 @@
|
|||||||
notify: reload nginx
|
notify: reload nginx
|
||||||
when: nginx['conf.d'] is defined
|
when: nginx['conf.d'] is defined
|
||||||
|
|
||||||
|
- name: create stream.d dir
|
||||||
|
file:
|
||||||
|
name: /etc/nginx/stream.d
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: add configs nginx to stream.d
|
- name: add configs nginx to stream.d
|
||||||
copy:
|
copy:
|
||||||
content: "{{ item.data }}"
|
content: "{{ item.data }}"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
podman_version: "{{ '1.6.4' if ansible_facts['distribution_major_version'] == '7' else '4.0.2' if ansible_facts['distribution_major_version'] == '8' }}"
|
podman_version: "*"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: Ensure podman {{ podman_version }} installed
|
- name: Ensure podman installed
|
||||||
yum:
|
yum:
|
||||||
name: "podman-{{ podman_version }}"
|
name: "podman-{{ podman_version }}"
|
||||||
state: present
|
state: present
|
||||||
|
Loading…
Reference in New Issue
Block a user