mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-22 07:18:02 +01:00
22 lines
486 B
YAML
22 lines
486 B
YAML
---
|
|
- name: Nextcloud2
|
|
hosts: servers
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Docker
|
|
ansible.builtin.include_role:
|
|
name: docker
|
|
- name: Install rclone
|
|
become: true
|
|
ansible.builtin.apt:
|
|
name:
|
|
- rclone
|
|
- name: Copy config file
|
|
become: true
|
|
ansible.builtin.copy:
|
|
src: files/nextcloud-aio-rclone.conf
|
|
dest: /root/.config/rclone/rclone.conf
|
|
mode: "0600"
|
|
|
|
vars:
|
|
docker_app_name: nextcloud-aio
|