diff --git a/playbooks/gitea-rename-tasks.yaml b/playbooks/gitea-rename-tasks.yaml index 9d520bbf67..88b6e12fdd 100644 --- a/playbooks/gitea-rename-tasks.yaml +++ b/playbooks/gitea-rename-tasks.yaml @@ -10,7 +10,7 @@ newproj: "{{ repo.new.split('/')[1] }}" - name: "Make new gitea org" include_tasks: roles/gitea-git-repos/tasks/setup-org.yaml - var: + vars: org: "{{ neworg }}" - name: "Get repo {{ oldorg }}/{{ oldproj }}" uri: diff --git a/playbooks/rename_repos.yaml b/playbooks/rename_repos.yaml index 71a2b0d228..0e328137d4 100644 --- a/playbooks/rename_repos.yaml +++ b/playbooks/rename_repos.yaml @@ -38,6 +38,7 @@ vars: gitea_url: https://localhost:3000 tasks: + - include_vars: "{{ repolist }}" - name: Get a CSRF token uri: url: "{{ gitea_url }}/"