mirror of
https://github.com/linux-system-roles/network.git
synced 2026-08-01 23:32:23 +00:00
Add examples to remove or take down a profile
This commit is contained in:
parent
ff2f35cb8a
commit
640e11001e
2 changed files with 20 additions and 0 deletions
10
examples/down-profile.yml
Normal file
10
examples/down-profile.yml
Normal 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
|
||||
10
examples/remove-profile.yml
Normal file
10
examples/remove-profile.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue