From c04ecc2da5d2d81a990bb2d3d55146795c5ec124 Mon Sep 17 00:00:00 2001 From: Nicolas Iselin Date: Mon, 5 Jun 2023 08:38:03 +0200 Subject: [PATCH] fix!: runtype variable must have a static name BREAKING CHANGE --- container/finish.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/finish.sh.j2 b/container/finish.sh.j2 index 037ed2e..0ace316 100755 --- a/container/finish.sh.j2 +++ b/container/finish.sh.j2 @@ -56,7 +56,7 @@ pip3 install ansible-core==2.12.3 {# Verbose ansible if develop #} ansible-playbook prepare.yml {% if config['specs']['ansible_vault_key_file'] != "" %}--vault-password-file=/etc/potos/ansible_vault_key {% endif %}{% if POTOS_ENV is defined and POTOS_ENV == 'develop' %}-vvv {% endif %}| sed -u 's/^/# /' -ansible-playbook playbook.yml {% if config['specs']['ansible_vault_key_file'] != "" %}--vault-password-file=/etc/potos/ansible_vault_key {% endif %}{% if POTOS_ENV is defined and POTOS_ENV == 'develop' %}-vvv {% endif %}-e "{{ config['client_name']['short'] }}_runtype"="{{ config['first_boot_ansible']['runtype'] }}" | sed -u 's/^/# /' +ansible-playbook playbook.yml {% if config['specs']['ansible_vault_key_file'] != "" %}--vault-password-file=/etc/potos/ansible_vault_key {% endif %}{% if POTOS_ENV is defined and POTOS_ENV == 'develop' %}-vvv {% endif %}-e "potos_runtype"="{{ config['first_boot_ansible']['runtype'] }}" | sed -u 's/^/# /' deactivate