Compare commits
4 Commits
980aeb39e7
...
c9cde03e58
| Author | SHA1 | Date |
|---|---|---|
|
|
c9cde03e58 | |
|
|
d18e1df2cd | |
|
|
f2ec364916 | |
|
|
aabc0c2004 |
|
|
@ -1,2 +1,3 @@
|
|||
ansible_user: ansible
|
||||
ansible_password: "{{ ansible_crypted_password }}"
|
||||
ansible_password: "{{ ansible_crypted_password }}"
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Basic check nodes
|
||||
hosts: all
|
||||
roles:
|
||||
- nextcloud_aio
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- role: docker
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
- import_tasks: nextcloud_docker_aio.yaml
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue