blob: f94399fab2e69926620e3f84fbcd24bd0a1bcacd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
---
- name: restart flanneld
become: yes
systemd: name=flanneld state=restarted
- name: restart docker
become: yes
systemd:
name: "{{ openshift_docker_service_name }}"
state: restarted
register: l_docker_restart_docker_in_flannel_result
until: not (l_docker_restart_docker_in_flannel_result is failed)
retries: 3
delay: 30
- name: restart node
systemd:
name: "{{ openshift_service_type }}-node"
state: restarted
register: l_restart_node_result
until: not (l_restart_node_result is failed)
retries: 3
delay: 30
- name: save iptable rules
become: yes
command: 'iptables-save'
|