Depend on it

This commit is contained in:
Salt 2020-02-05 23:29:50 -06:00
parent 3fa61ca850
commit 823b9bb060
2 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,7 @@
nextcloud_url: "nc.assburgers.club"
nextcloud_webroot: "/var/www/nextcloud"
roles:
- mysql
- nextcloud
- hosts: tag_role_cockpit
roles:

View File

@ -1,6 +1,9 @@
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Include MySQL role
include_role:
name: mysql
- name: Install, configure, and start Nextcloud
block:
- name: Install Nextcloud-required packages
@ -9,7 +12,6 @@
vars:
packages:
- apache2
- mariadb-server
- libapache2-mod-php7.2
- php7.2
- php7.2-gd
@ -164,4 +166,5 @@
service:
name: apache2
state: reloaded
enabled: true
become: yes