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_url: "nc.assburgers.club"
nextcloud_webroot: "/var/www/nextcloud" nextcloud_webroot: "/var/www/nextcloud"
roles: roles:
- mysql
- nextcloud - nextcloud
- hosts: tag_role_cockpit - hosts: tag_role_cockpit
roles: roles:

View File

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