Add examples to remove or take down a profile

This commit is contained in:
Till Maas 2018-05-18 22:46:33 +02:00
parent ff2f35cb8a
commit 640e11001e
2 changed files with 20 additions and 0 deletions

10
examples/down-profile.yml Normal file
View file

@ -0,0 +1,10 @@
# SPDX-License-Identifier: BSD-3-Clause
---
- name: Set {{ profile }} down
hosts: all
vars:
network_connections:
- name: "{{ profile }}"
state: down
roles:
- linux-system-roles.network

View file

@ -0,0 +1,10 @@
# SPDX-License-Identifier: BSD-3-Clause
---
- name: Remove {{ profile }}
hosts: all
vars:
network_connections:
- name: "{{ profile }}"
state: absent
roles:
- linux-system-roles.network