--- # Detect installed version (if any) - block: - import_tasks: ../includes/webapps_set_install_mode.yml vars: - root_dir: "{{ appsmith_root_dir }}" - version: "{{ appsmith_version }}" - set_fact: appsmith_install_mode={{ (install_mode == 'upgrade' and not appsmith_manage_upgrade) | ternary('none',install_mode) }} - set_fact: appsmith_current_version={{ current_version | default('') }} tags: appsmith # Create a random encryption password - block: - import_tasks: ../includes/get_rand_pass.yml vars: - pass_file: "{{ appsmith_root_dir }}/meta/ansible_encryption_pass" - set_fact: appsmith_encryption_pass={{ rand_pass }} when: appsmith_encryption_pass is not defined tags: appsmith # Create a random encryption salt - block: - import_tasks: ../includes/get_rand_pass.yml vars: - pass_file: "{{ appsmith_root_dir }}/meta/ansible_encryption_salt" - complex: False - pass_size: 10 - set_fact: appsmith_encryption_salt={{ rand_pass }} when: appsmith_encryption_salt is not defined tags: appsmith