- hosts: src roles: - { role: common, tags: ['di-common'] } - { role: di-apt, tags: ['di-common'] } - { role: copydrive, tags: ['di-copydrive'] } - { role: di-certificates, tags: ['di-certificates'] } - { role: nginx, tags: ['nginx', 'reprepro-common', 'go-remote-redir-common'] } - { role: reprepro, tags: ['reprepro', 'reprepro-common'] } - { role: go-remote-redir, tags: ['go-remote-redir', 'go-remote-redir-common'] } - { role: gitea, tags: ['gitea'] } # note: gitea installs also the mysql role. To ignore this use "--skip-tags mysql" # migrate: # - reprepro # cp /home/di-apt/pub/ files to the new machine # - gitea # cp data directory, config and templates + mysql database