File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 187187 tags :
188188 - multinode.sh
189189
190+ - name : Ensure env-vars.sh script is present
191+ ansible.builtin.template :
192+ src : " templates/env-vars.sh.j2"
193+ dest : " {{ ansible_env.HOME }}/env-vars.sh"
194+ mode : " 0755"
195+
190196 - name : Ensure root_domain is defined
191197 ansible.builtin.lineinfile :
192198 path : " {{ src_directory }}/{{ kayobe_config_name }}/etc/kayobe/environments/{{ kayobe_config_environment }}/inventory/group_vars/all/main.yml"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ export KAYOBE_VAULT_PASSWORD=$( cat {{ ansible_env.HOME }}/vault.password)
3+ source {{ ansible_env.HOME }}/venvs/kayobe/bin/activate
4+ source {{ src_directory }}/{{ kayobe_config_name }}/kayobe-env --environment {{ kayobe_config_environment }}
5+ source <( kayobe complete)
6+ cd {{ src_directory }}/{{ kayobe_config_name }}/etc/kayobe/
You can’t perform that action at this time.
0 commit comments