Also add boolean check for swap_block.
This commit is contained in:
@@ -144,6 +144,11 @@
|
|||||||
prod_port: "{{ lookup('ini', 'prod_port file={{gen_file}} default=22') }}"
|
prod_port: "{{ lookup('ini', 'prod_port file={{gen_file}} default=22') }}"
|
||||||
prod_user: "{{ lookup('ini', 'prod_user file={{gen_file}} default=user') }}"
|
prod_user: "{{ lookup('ini', 'prod_user file={{gen_file}} default=user') }}"
|
||||||
|
|
||||||
|
- name: General | Account Management | Provisioning Configuration | General | Boolean Check | Swap Block
|
||||||
|
set_fact:
|
||||||
|
swap_block: "{{ swap_block | bool }}"
|
||||||
|
when: swap_block in ("true", "false")
|
||||||
|
|
||||||
- name: General | Account Management | Provisioning Configuration | General | List
|
- name: General | Account Management | Provisioning Configuration | General | List
|
||||||
set_fact:
|
set_fact:
|
||||||
provision_variables: "{{ provision_variables | combine(item) }}"
|
provision_variables: "{{ provision_variables | combine(item) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user