Compare commits

...

4 Commits

7 changed files with 33 additions and 5 deletions

View File

@ -1,2 +1,3 @@
ansible_user: ansible
ansible_password: "{{ ansible_crypted_password }}"
ansible_password: "{{ ansible_crypted_password }}"
ansible_python_interpreter: /usr/bin/python3

View File

@ -0,0 +1,5 @@
---
- name: Basic check nodes
hosts: all
roles:
- nextcloud_aio

View File

@ -1,3 +1,5 @@
---
- name: Check access to Internet
wait_for: host=1.1.1.1 timeout=1
wait_for:
host: 1.1.1.1
timeout: 5

View File

@ -0,0 +1,2 @@
dependencies:
- role: docker

View File

@ -0,0 +1,2 @@
---
- import_tasks: nextcloud_docker_aio.yaml

View File

@ -1,6 +1,18 @@
---
# NB inherit docker
- name: Create volumes
## TODO
debug:
msg:
- "TODO!!!"
- name: launch Nextcloud aio docker image
- name: Download compose file
become: true
become_user: docker
ansible.builtin.git:
repo: "https://gitea-s2i2s.isti.cnr.it/sinibaldi/SSE-Lab"
dest: SSE-Lab
- name: create and start docker compose services
become: true
become_user: docker
community.docker.docker_compose_v2:
project_src: ~/SSE-Lab/dockerized/nextcloud-aio/compose.yaml

View File

@ -29,7 +29,11 @@ Basic checks connectivity for **all**
##### NextCloud
Installs Nextcloud AIO using SSE Lab / dockerized / nextcloud-aio
Calls role nextcloud_aio, dependent on docker role.
- Downloads SSE-Lab Repo
- Runs compose up (using ansible plugins)
E.g. `ansible-playbook -i inventories/ -l nextrup_copy_test playbooks/nextcloud.yaml`
### Bootstrap ###
Creates sudoer user ansible, necessitates of sudoer user.