Files
2023-07-17 11:54:36 +09:00

13 lines
426 B
YAML

---
- name: host agent install setting - crio
shell: |
sed -i "s/10.10.34.142/{{ hostvars[groups['cmoa_master'][0]]['ip'] }}/" /root/host-agent/default_setup.sh
sed -i "s/rel3.4.6/rel{{ VERSION }}/" /root/host-agent/default_setup.sh
when:
- inventory_hostname in groups['crio']
- name: host agent install - crio
shell: sh /root/host-agent/default_setup.sh
when:
- inventory_hostname in groups['crio']