unifi
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace: uumas
|
namespace: uumas
|
||||||
name: docker
|
name: docker
|
||||||
version: 0.5.2
|
version: 0.5.3
|
||||||
readme: README.md
|
readme: README.md
|
||||||
repository: https://git.uumas.fi/uumas/ansible-docker
|
repository: https://git.uumas.fi/uumas/ansible-docker
|
||||||
license_file: LICENSE
|
license_file: LICENSE
|
||||||
|
|||||||
@@ -2,10 +2,13 @@
|
|||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- role: container
|
- role: container
|
||||||
|
docker_proxy_target_protocol: https
|
||||||
docker_service: unifi
|
docker_service: unifi
|
||||||
docker_image: jacobalberty/unifi:latest
|
docker_image: jacobalberty/unifi:latest
|
||||||
docker_network_mode: host
|
docker_network_mode: host
|
||||||
docker_volumes:
|
docker_volumes:
|
||||||
- unifi_data:/unifi
|
- unifi_data:/unifi
|
||||||
docker_env:
|
docker_env:
|
||||||
|
UNIFI_HTTPS_PORT: "{{ ports.unifi.https }}"
|
||||||
|
PORTAL_HTTP_PORT: "8808"
|
||||||
|
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
- name: Create git group on host for gitea ssh
|
|
||||||
group:
|
|
||||||
name: git
|
|
||||||
gid: 2132
|
|
||||||
system: yes
|
|
||||||
|
|
||||||
- name: Create git user on host for gitea ssh
|
|
||||||
user:
|
|
||||||
name: git
|
|
||||||
uid: 2132
|
|
||||||
group: git
|
|
||||||
system: yes
|
|
||||||
home: /var/lib/gitea
|
|
||||||
generate_ssh_key: yes
|
|
||||||
register: git_user
|
|
||||||
|
|
||||||
- name: Add git user's own ssh key to its authorized keys
|
|
||||||
authorized_key:
|
|
||||||
user: git
|
|
||||||
key: "{{ git_user.ssh_public_key }}"
|
|
||||||
|
|
||||||
- name: Put gitea ssh forwarder in place
|
|
||||||
template:
|
|
||||||
src: gitea_ssh_forward.j2
|
|
||||||
dest: /usr/local/bin/gitea
|
|
||||||
mode: '755'
|
|
||||||
Reference in New Issue
Block a user