diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-05-04 22:22:10 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-05-04 22:22:10 +0200 |
commit | 465f33c8f8e0832faac8c0b92503ed37f45bfc35 (patch) | |
tree | 9306958079f521de2da30bf7c14530e94a6cd3a0 /roles/nextcloud | |
parent | 173ed411dc8b7feed16abd59cead081b209a66fd (diff) | |
download | infrastructure-465f33c8f8e0832faac8c0b92503ed37f45bfc35.tar.gz |
st0cld0: Move nfsd to nextcloud dependencies
Diffstat (limited to 'roles/nextcloud')
-rw-r--r-- | roles/nextcloud/meta/main.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/roles/nextcloud/meta/main.yml b/roles/nextcloud/meta/main.yml index 9a6c3ec..30e27f3 100644 --- a/roles/nextcloud/meta/main.yml +++ b/roles/nextcloud/meta/main.yml @@ -5,8 +5,19 @@ --- dependencies: + - role: nfsclient + vars: + nfsclient_dir: "/var/www/nextcloud/data" + nfsclient_server_dir: "{{ global.nfs_server_dir }}/{{ ansible_host }}/nextcloud" + when: ansible_distribution == "OpenBSD" + tags: "dependency" + - role: httpd_pre tags: "dependency" when: ansible_distribution == "OpenBSD" - - { role: postgres, tags: "dependency" } - - { role: redis, tags: "dependency" } + + - role: postgres + tags: "dependency" + + - role: redis + tags: "dependency" |