Also add boolean check for swap_block.

This commit is contained in:
2025-12-18 10:37:56 -07:00
parent 1a2572870f
commit b3e9f7584f

View File

@@ -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) }}"
@@ -225,7 +230,7 @@
- name: General | Account Management | Provisioning Configuration | Workstation | Boolean Check | Editing - name: General | Account Management | Provisioning Configuration | Workstation | Boolean Check | Editing
set_fact: set_fact:
editing: "{{ editing | bool }}" editing: "{{ editing | bool }}"
when: editing in ("true", "false") when: editing in ("true", "false")
- name: General | Account Management | Provisioning Configuration | Workstation | List - name: General | Account Management | Provisioning Configuration | Workstation | List