File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 120
120
line : " vxlan_vni: {{ vxlan_vni }}"
121
121
mode : " 0644"
122
122
123
+ - name : Ensure custom Kayobe configuration is applied
124
+ ansible.builtin.blockinfile :
125
+ path : " {{ src_directory }}/{{ kayobe_config_name }}/etc/kayobe/environments/{{ kayobe_config_environment }}/{{ item.path }}"
126
+ block : " {{ item.block }}"
127
+ mode : " 0644"
128
+ create : true
129
+ loop : " {{ kayobe_config_custom }}"
130
+
123
131
- name : Ensure Kayobe repository is present
124
132
ansible.builtin.git :
125
133
repo : " {{ kayobe_repo }}"
Original file line number Diff line number Diff line change @@ -6,6 +6,17 @@ kayobe_config_version: stackhpc/yoga
6
6
kayobe_config_name : kayobe-config
7
7
kayobe_config_environment : ci-multinode
8
8
9
+ # Custom Kayobe configuration.
10
+ # Can be used to modify a vanilla configuration to avoid creating a branch.
11
+ # Paths are relative to ci-multinode environment.
12
+ # Blocks are applied using the ansible.builtin.blockinfile module.
13
+ # Example:
14
+ # kayobe_config_custom:
15
+ # - path: time.yml
16
+ # block: |
17
+ # timezone: Europe/London
18
+ kayobe_config_custom : []
19
+
9
20
kayobe_repo : https://github.com/stackhpc/kayobe.git
10
21
kayobe_version : stackhpc/yoga
11
22
kayobe_name : kayobe
You can’t perform that action at this time.
0 commit comments