Skip to content

Commit ca47578

Browse files
committed
populate protected_environments list
1 parent f7efa6c commit ca47578

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

environments/site/hooks/pre.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
- hosts: localhost
44
gather_facts: no
55
become: no
6+
vars:
7+
protected_environments:
8+
- prd
69
tasks:
710
- name: Confirm continuing if using production environment
811
ansible.builtin.pause:

0 commit comments

Comments
 (0)