This commit is contained in:
ace 2023-06-10 08:04:09 +03:00
parent a251e593c6
commit 73f93631c2
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
4 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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 }}"

View File

@ -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: "*"

View File

@ -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