Added missing parameter to sed command
This commit is contained in:
parent
fad80d8595
commit
c8a488cfbe
1 changed files with 1 additions and 1 deletions
|
@ -20,5 +20,5 @@
|
|||
shell: ip ro add {{ hostvars[groups['kube-master'][0]]['kube_service_addresses']['stdout'] }} via {{ local_ip.stdout }}
|
||||
when: local_route.stdout.find('{{ local_ip.stdout }}') == -1
|
||||
- name: Add openstack namespace to resolv.conf
|
||||
shell: grep openstack.svc.cluster.local /etc/resolv.conf || sed '/^search / s/$/ openstack.svc.cluster.local/' /etc/resolv.conf
|
||||
shell: grep openstack.svc.cluster.local /etc/resolv.conf || sed '/^search / s/$/ openstack.svc.cluster.local/' -i /etc/resolv.conf
|
||||
|
||||
|
|
Loading…
Reference in a new issue