mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
Add example to down and remove a profile
This commit is contained in:
parent
87b671cc1d
commit
71b754de62
1 changed files with 12 additions and 0 deletions
12
examples/remove+down_profile.yml
Normal file
12
examples/remove+down_profile.yml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
---
|
||||
- name: Set {{ profile }} down
|
||||
hosts: all
|
||||
vars:
|
||||
network_connections:
|
||||
- name: "{{ profile }}"
|
||||
persistent_state: absent
|
||||
state: down
|
||||
roles:
|
||||
- linux-system-roles.network
|
||||
...
|
||||
Loading…
Add table
Add a link
Reference in a new issue