chatai/postgres_15.8.1.044/ansible/tasks/setup-migrations.yml

14 lines
305 B
YAML

- name: Run migrate.sh script
shell: ./migrate.sh
register: retval
when: debpkg_mode or stage2_nix
args:
chdir: /tmp/migrations/db
failed_when: retval.rc != 0
- name: Create /root/MIGRATION-AMI file
file:
path: "/root/MIGRATION-AMI"
state: touch
when: debpkg_mode or stage2_nix