Merge "Ensure flush-net-cache on local host"
This commit is contained in:
commit
85905fbf8f
@ -40,7 +40,7 @@
|
||||
tags:
|
||||
- container-directories
|
||||
|
||||
- name: Destroy lxc containers
|
||||
- name: Flush network cache on lxc host
|
||||
hosts: "hosts"
|
||||
max_fail_percentage: 20
|
||||
gather_facts: false
|
||||
@ -51,3 +51,16 @@
|
||||
delegate_to: "{{ physical_host }}"
|
||||
tags:
|
||||
- flush-net-cache
|
||||
|
||||
- name: Ensure flushing network cache on local host
|
||||
hosts: 127.0.0.1
|
||||
connection: local
|
||||
max_fail_percentage: 20
|
||||
gather_facts: false
|
||||
user: root
|
||||
tasks:
|
||||
- name: Flush net cache
|
||||
command: /usr/local/bin/lxc-system-manage flush-net-cache
|
||||
tags:
|
||||
- flush-net-cache
|
||||
- flush-net-cache-local
|
||||
|
Loading…
x
Reference in New Issue
Block a user