ansible-roles/roles/sftpgo/tasks/main.yml

31 lines
748 B
YAML
Raw Normal View History

2021-12-01 19:13:34 +01:00
---
2022-03-07 15:00:06 +01:00
- include_tasks: user.yml
tags: always
- include_tasks: directories.yml
tags: always
- include_tasks: facts.yml
tags: always
- include_tasks: archive_pre.yml
when: sftpgo_install_mode | default('none') == 'upgrade'
tags: always
- include_tasks: install.yml
tags: always
- include_tasks: selinux.yml
2021-12-01 19:13:34 +01:00
when: ansible_selinux.status == 'enabled'
2022-03-07 15:00:06 +01:00
tags: always
- include_tasks: conf.yml
tags: always
- include_tasks: iptables.yml
2021-12-01 19:13:34 +01:00
when: iptables_manage | default(True)
2022-03-07 15:00:06 +01:00
tags: always
- include_tasks: services.yml
tags: always
- include_tasks: write_version.yml
tags: always
- include_tasks: archive_post.yml
when: sftpgo_install_mode | default('none') == 'upgrade'
tags: always
- include_tasks: cleanup.yml
tags: always