--- - name: Restart ipfs ansible.builtin.systemd_service: name: ipfs state: restarted enabled: true daemon_reload: true - name: Restart ipfs-cluster-follow ansible.builtin.systemd_service: name: ipfs-cluster-follow state: restarted enabled: true daemon_reload: true - name: Migrate ipfs ansible.builtin.shell: creates: "{{ ipfs_path }}/version" cmd: "env IPFS_PATH={{ ipfs_path }} /usr/local/bin/fs-repo-migrations" # noqa command-instead-of-shell become: true become_user: ipfs - name: Initialize ipfs ansible.builtin.shell: creates: "{{ ipfs_path }}/datastore_spec" cmd: "env IPFS_PATH={{ ipfs_path }} /usr/local/bin/ipfs init --profile pebbleds" # noqa command-instead-of-shell become: true become_user: ipfs