diff --git a/destroy_containers.yml b/destroy_containers.yml index cc254934..5f5718b3 100644 --- a/destroy_containers.yml +++ b/destroy_containers.yml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. - name: Playbook for destroying test containers - hosts: all_container + hosts: all_containers become: true gather_facts: false tasks: @@ -52,4 +52,5 @@ - force_containers_data_destroy | bool tags: - container-directories-data - + vars_files: + - test-vars.yml diff --git a/test-vars.yml b/test-vars.yml index 94228ade..a95a7a3e 100644 --- a/test-vars.yml +++ b/test-vars.yml @@ -19,6 +19,10 @@ external_lb_vip_address: 127.0.0.1 internal_lb_vip_address: 127.0.0.1 debug: true +## Container destruction when testing repeatedly +force_containers_destroy: True +force_containers_data_destroy: True + # LXC Settings lxc_net_address: 10.100.100.1 lxc_net_netmask: 255.255.255.0