Skip to content

Commit

Permalink
Merge pull request #46 from nis65/varname
Browse files Browse the repository at this point in the history
fix!: runtype var name must be static
  • Loading branch information
fadnincx authored Jul 24, 2023
2 parents eda8fca + c04ecc2 commit 4d72266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/finish.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4d72266

Please sign in to comment.