Compare commits
No commits in common. "main" and "automotive" have entirely different histories.
main
...
automotive
|
|
@ -1,9 +1,5 @@
|
||||||
---
|
|
||||||
externals:
|
externals:
|
||||||
children:
|
children:
|
||||||
nextcloud:
|
|
||||||
hosts:
|
|
||||||
c-service.sse.cloud.isti.cnr.it
|
|
||||||
rup_tests:
|
rup_tests:
|
||||||
hosts:
|
hosts:
|
||||||
liquid:
|
liquid:
|
||||||
|
|
@ -8,8 +8,5 @@ wg_server_address: 192.168.99.1/32
|
||||||
|
|
||||||
wg_peers:
|
wg_peers:
|
||||||
- name: fabio_test
|
- name: fabio_test
|
||||||
publicKey: "byR/8T9AZK2t1cxDCLVzdLXsxcUPRXA06CnfI8gwQyY="
|
publicKey: "dzODOKndtafZSf2GqvClFdxrpwyNJnZ/AsZkNl+ovEE="
|
||||||
allowedIP: "192.168.99.4/32"
|
allowedIP: "192.168.99.4/32"
|
||||||
- name: lucio
|
|
||||||
publicKey: "IifwTYaBMoL3IhAHHplyuVMCir7PHNT57cP57RvEIwg="
|
|
||||||
allowedIP: "192.168.99.3/32"
|
|
||||||
|
|
@ -2,22 +2,22 @@
|
||||||
# SIFI
|
# SIFI
|
||||||
sifi:
|
sifi:
|
||||||
children:
|
children:
|
||||||
#opn:
|
opn:
|
||||||
#hosts:
|
hosts:
|
||||||
# sifi_opnsense.sifi.isti.cnr.it:
|
sifi_opnsense.sifi.isti.cnr.it:
|
||||||
# ns1.sifi.isti.cnr.it:
|
# ns1.sifi.isti.cnr.it:
|
||||||
# ansible_host: 146.48.108.51 #[WAN public ip]
|
# ansible_host: 146.48.108.51 #[WAN public ip]
|
||||||
# ansible_host: 10.20.30.111
|
# ansible_host: 10.20.30.111
|
||||||
wireguard_server:
|
wireguard_server:
|
||||||
hosts:
|
hosts:
|
||||||
vpn-1.sifi.sse.cloud.isti.cnr.it:
|
wireguarder.sifi.isti.cnr.it:
|
||||||
# ansible_host: 146.48.108.13
|
# ansible_host: 146.48.108.13
|
||||||
# nameserver:
|
nameserver:
|
||||||
# hosts:
|
hosts:
|
||||||
#ns1.sifi.isti.cnr.it:
|
ns1.sifi.isti.cnr.it:
|
||||||
# ansible_host: 146.48.108.51
|
ansible_host: 146.48.108.51
|
||||||
# dns1.internal.sifi.isti.cnr.it:
|
# dns1.internal.sifi.isti.cnr.it:
|
||||||
# ansible_host: 10.11.12.11
|
# ansible_host: 10.11.12.11
|
||||||
workers:
|
workers:
|
||||||
hosts:
|
hosts:
|
||||||
dev-1.sifi.sse.cloud.isti.cnr.it:
|
worker1.internal.sifi.isti.cnr.it:
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
vlab-1:
|
|
||||||
children:
|
|
||||||
wireguard_server:
|
|
||||||
hosts:
|
|
||||||
vpn-1.sse.cloud.isti.cnr.it:
|
|
||||||
nextcloud:
|
|
||||||
hosts:
|
|
||||||
b-service_2:
|
|
||||||
ansible_host: 10.22.2.77
|
|
||||||
b-service_1:
|
|
||||||
ansible_host: 10.22.1.145
|
|
||||||
|
|
@ -1,8 +1,17 @@
|
||||||
---
|
---
|
||||||
- name: Install Nextcloud AIO Docker
|
- name: Install Nextcloud AIO Docker
|
||||||
hosts: nextcloud
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
|
vars:
|
||||||
|
pip_install_packages:
|
||||||
|
- name: docker
|
||||||
|
docker_version: "=5:28.2.2-1~ubuntu.24.04~noble"
|
||||||
|
docker_users:
|
||||||
|
- fabio
|
||||||
|
- ansible
|
||||||
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
|
- geerlingguy.pip
|
||||||
- geerlingguy.docker
|
- geerlingguy.docker
|
||||||
- nextcloud_aio
|
# - nextcloud_aio
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
docker_version: "*.*.*"
|
#SPDX-License-Identifier: MIT-0
|
||||||
docker_sudo_users: []
|
---
|
||||||
|
# defaults file for docker
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
nextcloud_docker_image_name: "ghcr.io/nextcloud-releases/all-in-one"
|
|
||||||
nextcloud_docker_image_tag: latest
|
|
||||||
nextcloud_docker_skip_domain_validation: "true"
|
|
||||||
nextcloud_docker_mastercontainer_volume_dir: /usr/data/nextcloud_aio_mastercontainer
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
dependencies:
|
||||||
|
- role: docker
|
||||||
|
|
@ -1,31 +1,18 @@
|
||||||
---
|
---
|
||||||
- name: Pull docker image
|
- name: Create volumes
|
||||||
docker_image:
|
debug:
|
||||||
name: "{{ nextcloud_docker_image_name }}"
|
msg:
|
||||||
tag: "{{ nextcloud_docker_image_tag }}"
|
- "TODO!!!"
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Master Container volume dir
|
- name: Download compose file
|
||||||
file:
|
become: true
|
||||||
path: "{{ nextcloud_docker_mastercontainer_volume_dir }}"
|
become_user: docker
|
||||||
state: directory
|
ansible.builtin.git:
|
||||||
mode: "0766"
|
repo: "https://gitea-s2i2s.isti.cnr.it/sinibaldi/SSE-Lab"
|
||||||
|
dest: SSE-Lab
|
||||||
|
|
||||||
- name: Create container
|
- name: create and start docker compose services
|
||||||
docker_container:
|
become: true
|
||||||
name: nextcloud-aio-mastercontainer
|
become_user: docker
|
||||||
image: "{{ nextcloud_docker_image_name }}"
|
community.docker.docker_compose_v2:
|
||||||
ports:
|
project_src: ~/SSE-Lab/dockerized/nextcloud-aio/compose.yaml
|
||||||
- "8080:8080"
|
|
||||||
- "80:80"
|
|
||||||
- "8443:8443"
|
|
||||||
env:
|
|
||||||
APACHE_PORT: "443"
|
|
||||||
APACHE_IP_BINDING: "0.0.0.0"
|
|
||||||
APACHE_ADDITIONAL_NETWORK: ""
|
|
||||||
SKIP_DOMAIN_VALIDATION: "{{ nextcloud_docker_skip_domain_validation }}"
|
|
||||||
volumes:
|
|
||||||
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
restart_policy : "always"
|
|
||||||
init : true
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,6 @@
|
||||||
# requirements.yml
|
# requirements.yml
|
||||||
---
|
---
|
||||||
roles:
|
roles:
|
||||||
- name: githubixx.ansible_role_wireguard
|
|
||||||
src: https://github.com/githubixx/ansible-role-wireguard.git
|
|
||||||
version: 19.0.0
|
|
||||||
|
|
||||||
# - name: bodsch.dns.bind
|
# - name: bodsch.dns.bind
|
||||||
# version:
|
# version:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue