change include to include_tasks (#16)

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #16
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
This commit is contained in:
meaz 2023-01-17 20:23:14 +00:00
parent 5d92ce9fb5
commit 56dfdbee72
2 changed files with 9 additions and 8 deletions

1
Vagrantfile vendored
View file

@ -15,5 +15,6 @@ Vagrant.configure("2") do |config|
cryptpad.vm.network "forwarded_port", guest: 80, host: 8888, host_ip: "192.168.33.20"
cryptpad.vm.network "forwarded_port", guest: 443, host: 4443, host_ip: "192.168.33.20"
cryptpad.vm.network "private_network", ip: "192.168.33.20"
config.vm.provision "shell", inline: "apt install acl"
end
end

View file

@ -1,27 +1,27 @@
---
- name: Check version installed
include: check.yml
include_tasks: check.yml
- name: Create user
include: user.yml
include_tasks: user.yml
- name: Install dependencies
include: installdeps.yml
include_tasks: installdeps.yml
- name: Clone git repo
include: git.yml
include_tasks: git.yml
- name: Install cryptpad
include: install.yml
include_tasks: install.yml
when: not bower_folder.stat.exists
- name: Deploy config
include: config.yml
include_tasks: config.yml
- name: Systemd
include: systemd.yml
include_tasks: systemd.yml
- name: Update cryptpad
include: update.yml
include_tasks: update.yml
when: (cryptpad_version not in cryptpad_version_installed.stdout) and (bower_folder.stat.exists)