This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
destroy_container: show error on user abort
master
Andrea Cimbalo
8 years ago
parent
f736895c8e
commit
5b384bc14f
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
destroy_container.yaml
+ 3
- 0
destroy_container.yaml
View File
@ -11,6 +11,9 @@
prompt
:
'if you really are sure, enter the container name again'
private
:
no
tasks:
-
fail:
msg
:
"Task aborted by the user."
when
:
"confirm1 != 'yes' or confirm2 != '{{ container_name }}'"
-
block:
-
name
:
shutdown lxc container
lxc_container:
Write
Preview
Loading…
Cancel
Save