add notes
This commit is contained in:
parent
b5acaccdde
commit
576b1575ea
13
tasks/sync/copy_old_release.yml
Normal file
13
tasks/sync/copy_old_release.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
- name: "rsync old release in compose"
|
||||||
|
ansible.builtin.shell: 'rsync -vrlptDSH --exclude="kickstart" --exclude="live" --exclude="images" --exclude="isos" --chown=10004:10005 --progress --human-readable ../latest-Rocky-9/compose/ compose'
|
||||||
|
cwd: "{{ new_compose_dir }}"
|
||||||
|
changed_when: 1 != 1
|
||||||
|
failed_when: "result.rc != 0"
|
||||||
|
|
||||||
|
- name: "rsync old release in staging"
|
||||||
|
ansible.builtin.shell: 'rsync -vrlptDSH --exclude="kickstart" --exclude="live" --exclude="images" --exclude="isos" --chown=10004:10005 --progress --human-readable {{ old_revision }}/ {{ new_revision }}'
|
||||||
|
cwd: "{{ new_compose_dir }}"
|
||||||
|
changed_when: 1 != 1
|
||||||
|
failed_when: "result.rc != 0"
|
||||||
|
...
|
@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
# It takes about 5 minutes to do the file listing. Give it 10 minutes of wiggle.
|
||||||
|
# The fedora mirror list takes 15-20 minutes. 30 minutes of wiggle.
|
||||||
- name: "Make sure the sync repo are up to date"
|
- name: "Make sure the sync repo are up to date"
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: https://git.resf.org/sig_core/toolkit.git
|
repo: https://git.resf.org/sig_core/toolkit.git
|
||||||
|
Loading…
Reference in New Issue
Block a user