Depend on it
This commit is contained in:
parent
3fa61ca850
commit
823b9bb060
1
ec2.yml
1
ec2.yml
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user