AzuraCast/util/ansible/update.yml

64 lines
1.2 KiB
YAML
Raw Normal View History

---
2022-01-13 01:38:44 +01:00
- hosts: all
become: true
vars:
util_base: "{{ playbook_dir | dirname }}"
www_base: "{{ util_base | dirname }}"
app_base: "{{ www_base | dirname }}"
tmp_base: "{{ app_base }}/www_tmp"
app_env: "production"
update_mode: true
update_revision: 1
environment:
DEBIAN_FRONTEND: noninteractive
roles:
- role: "init"
- role: "azuracast-config"
- role: "azuracast-radio"
2022-05-26 09:22:13 +02:00
when: update_revision|int < 82
2022-01-13 01:38:44 +01:00
- role: "supervisord"
- role: "mariadb"
2022-05-29 03:30:39 +02:00
when: update_revision|int < 87
2022-01-13 01:38:44 +01:00
- role: "nginx"
when: update_revision|int < 88
2022-01-13 01:38:44 +01:00
- role: "redis"
2022-05-29 03:30:39 +02:00
when: update_revision|int < 87
2022-01-13 01:38:44 +01:00
- role: "beanstalkd"
2022-05-29 03:30:39 +02:00
when: update_revision|int < 87
2022-01-13 01:38:44 +01:00
2022-05-28 06:32:54 +02:00
- role: "sftpgo"
2022-05-29 03:30:39 +02:00
when: update_revision|int < 87
2022-05-28 06:32:54 +02:00
2022-01-13 01:38:44 +01:00
- role: "php"
2022-05-29 03:30:39 +02:00
when: update_revision|int < 87
2022-01-13 01:38:44 +01:00
- role: "composer"
- role: "influxdb"
when: update_revision|int < 58
- role: "ufw"
2022-05-28 06:32:54 +02:00
when: update_revision|int < 86
2022-01-13 01:38:44 +01:00
- role: "dbip"
when: update_revision|int < 51
- role: "azuracast-cron"
2022-05-29 03:30:39 +02:00
when: update_revision|int < 87
2022-01-13 01:38:44 +01:00
2022-05-27 03:41:54 +02:00
- role: "services"
2022-01-13 01:38:44 +01:00
- role: "azuracast-build"
- role: "azuracast-setup"