Move gitea dump prompt to gitea role
This commit is contained in:
parent
e33b3dbe41
commit
c432997de2
2 changed files with 6 additions and 5 deletions
|
@ -1,10 +1,5 @@
|
|||
---
|
||||
- hosts: lime2
|
||||
vars_prompt: # today's gitea dump zipfile must be in the manager's /tmp
|
||||
- name: push_latest_gitea_dump
|
||||
prompt: Push latest gitea dump? [yes/no]
|
||||
private: false
|
||||
|
||||
roles:
|
||||
- role: common
|
||||
tags: [mail, gitea, 2px, tunuifranken]
|
||||
|
|
|
@ -178,6 +178,12 @@
|
|||
set_fact:
|
||||
today: "{{ ansible_date_time.year }}{{ ansible_date_time.month }}{{ ansible_date_time.day }}"
|
||||
|
||||
- name: Ask if we push latest gitea_dump zipfile
|
||||
pause: # today's gitea dump zipfile must be in the manager's /tmp
|
||||
prompt: Push latest gitea dump? [yes/no]
|
||||
echo: true
|
||||
register: push_latest_gitea_dump
|
||||
|
||||
- name: Push latest gitea_dump zipfile
|
||||
become: true
|
||||
copy:
|
||||
|
|
Loading…
Reference in a new issue