--- - name: 'Reload forgejo services' become: true ansible.builtin.service: daemon_reload: true - name: 'Restart forgejo network' become: true ansible.builtin.service: name: '{{ forgejo_network_name }}-network' state: 'restarted' notify: - 'Restart forgejo-db container' - 'Restart forgejo-app container' - name: 'Restart forgejo volumes' become: true ansible.builtin.service: name: '{{ item }}' state: 'restarted' loop: - '{{ forgejo_db_volume_name }}-volume' - '{{ forgejo_app_volume_name }}-volume' notify: - 'Restart forgejo-db container' - 'Restart forgejo-app container' - name: 'Restart forgejo-db image' become: true ansible.builtin.service: name: 'forgejo-db-image' state: 'restarted' notify: - 'Restart forgejo-db container' - name: 'Restart forgejo-db container' become: true ansible.builtin.service: name: 'forgejo-db' state: 'restarted' notify: - 'Restart forgejo-app container' - name: 'Restart forgejo-app image' become: true ansible.builtin.service: name: 'forgejo-app-image' state: 'restarted' notify: - 'Restart forgejo-app container' - name: 'Restart forgejo-app container' become: true ansible.builtin.service: name: 'forgejo-app' state: 'restarted'