Merge "Ensure flush-net-cache on local host"

This commit is contained in:
Jenkins 2015-06-29 10:00:58 +00:00 committed by Gerrit Code Review
commit 85905fbf8f

View File

@ -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