This commit is contained in:
@@ -70,14 +70,14 @@
|
||||
regexp: '\{\{\s*agebd_env_suffix\s*\}\}'
|
||||
replace: "{{ env_suffix_upper }}"
|
||||
|
||||
# Replace {{ agebd_env }} and {{ ioc_port }} inside the newly renamed params file
|
||||
# Replace {{ agebd_env_suffix }} and {{ ioc_port }} inside the newly renamed params file
|
||||
- name: "[{{ target_service_name_lower }}] Substitute environment token inside params file"
|
||||
ansible.builtin.replace:
|
||||
path: "{{ ioc_base_dir }}/{{ target_params_name }}"
|
||||
regexp: "{{ item.regexp }}"
|
||||
replace: "{{ item.replace | string }}"
|
||||
with_items:
|
||||
- { regexp: '\{\{\s*agebd_env\s*\}\}', replace: "{{ env_suffix_lower }}" }
|
||||
- { regexp: '\{\{\s*agebd_env_suffix\s*\}\}', replace: "{{ env_suffix_lower }}" }
|
||||
- { regexp: '\{\{\s*ioc_port\s*\}\}', replace: "{{ ioc_port }}" }
|
||||
|
||||
- name: "[{{ target_service_name_lower }}] Run ioc install"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env }}
|
||||
ioc_host: sls-vserv-bd-01{{ agebd_env_suffix }}
|
||||
ioc_port: {{ ioc_port }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
cpu_architecture: x86_64
|
||||
epics_version: 7.0.8
|
||||
ioc_host: sls-vserv-bd-01{{ '{{ agebd_env }}' }}
|
||||
ioc_host: sls-vserv-bd-01{{ '{{ agebd_env_suffix }}' }}
|
||||
ioc_port: {{ '{{ ioc_port }}' }}
|
||||
os: RHEL8
|
||||
os_id: rhel
|
||||
|
||||
Reference in New Issue
Block a user