--- - name: restart flibusta community.docker.docker_compose_v2: project_src: "{{ flibusta_base_dir }}" state: present restarted: true - name: rebuild flibusta shell: | cd {{ flibusta_base_dir }} docker compose down docker compose build --no-cache docker compose up -d args: executable: /bin/bash - name: stop flibusta community.docker.docker_compose_v2: project_src: "{{ flibusta_base_dir }}" state: stopped - name: start flibusta community.docker.docker_compose_v2: project_src: "{{ flibusta_base_dir }}" state: present - name: show flibusta logs shell: | echo "=== PostgreSQL ===" docker logs flibusta_postgres --tail 50 echo "" echo "=== PHP-FPM ===" docker logs flibusta_php --tail 50 echo "" echo "=== Nginx ===" docker logs flibusta_nginx --tail 50 args: executable: /bin/bash - name: fix postgres permissions file: path: "{{ flibusta_base_dir }}/db" owner: "999" group: "999" mode: 0755 recurse: yes