s3/playbook.yaml
Simon Cornet 0a143de4b7 feat: merge role and playbook into single repo
Add playbook.yaml and roles/requirements.yml from play-s3.
Docker and traefik are included via include_role in the playbook.
2026-05-08 17:14:18 +02:00

31 lines
752 B
YAML

---
# execute this role
- name: "install and configure s3"
hosts: "all"
become: true
tasks:
# due to semaphore bug we need to do this ourselves
- name: "force-update requirements"
ansible.builtin.command:
cmd: "ansible-galaxy install -f -r roles/requirements.yml"
become: false
delegate_to: "localhost"
changed_when: false
failed_when: false
# execute the role
- name: "execute role: docker"
ansible.builtin.include_role:
name: "docker"
# execute the role
- name: "execute role: traefik"
ansible.builtin.include_role:
name: "traefik"
# execute the role
- name: "execute role: rustfs"
ansible.builtin.include_role:
name: "rustfs"