mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 13:27:21 +00:00
add teardown tags
This commit is contained in:
1 parent
7fb47d8b64
commit
5998aaabbc
1 file changed
+3
@@ -7,6 +7,7 @@
|
||||
- name: Load variables (Standard vs protected)
|
||||
include_vars:
|
||||
file: ../vars/{{ project_zone }}.yml
|
||||
tags: always
|
||||
|
||||
- name: Create security groups
|
||||
os_security_group:
|
||||
@@ -14,6 +15,7 @@
|
||||
state: "{{ state }}"
|
||||
name: "{{ item }}"
|
||||
with_items: "{{ security_groups }}"
|
||||
tags: teardown
|
||||
|
||||
- name: Remove default egress rules (protected only)
|
||||
os_security_group:
|
||||
@@ -24,6 +26,7 @@
|
||||
with_items:
|
||||
- user_vms
|
||||
- domain_member
|
||||
# temporary
|
||||
when: project_zone == "protected"
|
||||
|
||||
- name: Set remote group rules for security groups
|
||||
|
||||
Reference in new issue
Block a user