Skip to content

Commit 2ff3c01

Browse files
committed
fix: need var in stage 1 too
1 parent 2fb7958 commit 2ff3c01

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ebssurrogate/scripts/surrogate-bootstrap-nix.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,10 @@ EOF
214214
# Run Ansible playbook
215215
#export ANSIBLE_LOG_PATH=/tmp/ansible.log && export ANSIBLE_DEBUG=True && export ANSIBLE_REMOTE_TEMP=/mnt/tmp
216216
export ANSIBLE_LOG_PATH=/tmp/ansible.log && export ANSIBLE_REMOTE_TEMP=/mnt/tmp
217-
ansible-playbook -c chroot -i '/mnt,' /tmp/ansible-playbook/ansible/playbook.yml --extra-vars '{"nixpkg_mode": true, "debpkg_mode": false, "stage2_nix": false}' $ARGS
217+
ansible-playbook -c chroot -i '/mnt,' /tmp/ansible-playbook/ansible/playbook.yml \
218+
--extra-vars '{"nixpkg_mode": true, "debpkg_mode": false, "stage2_nix": false} ' \
219+
--extra-vars "psql_version=psql_${POSTGRES_MAJOR_VERSION}" \
220+
$ARGS
218221
}
219222

220223
function update_systemd_services {

0 commit comments

Comments
 (0)