Thienvv - thêm start app pool
This commit is contained in:
@@ -23,6 +23,12 @@
|
||||
name: iis_utils
|
||||
tasks_from: update_iis_physical_path.yml
|
||||
|
||||
- name: start_iis_app_pool
|
||||
import_role:
|
||||
name: iis_utils
|
||||
tasks_from: start_iis_app_pool.yml
|
||||
|
||||
|
||||
- name: set_site_aspnetcore_environment
|
||||
import_role:
|
||||
name: iis_utils
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
- name: Validate variables
|
||||
assert:
|
||||
that:
|
||||
- app_pool_name is defined and app_pool_name | length > 0
|
||||
fail_msg: "Thiếu hoặc rỗng biến cần thiết để start_iis_app_pool.yml!"
|
||||
|
||||
# Start app pool
|
||||
- name: Start IIS App Pool
|
||||
win_iis_webapppool:
|
||||
name: "{{ app_pool_name }}"
|
||||
state: started
|
||||
Reference in New Issue
Block a user