diff --git a/molecule/colocated_cluster/molecule.yml b/molecule/colocated_cluster/molecule.yml index 9e71887..bc0ce4e 100644 --- a/molecule/colocated_cluster/molecule.yml +++ b/molecule/colocated_cluster/molecule.yml @@ -31,7 +31,7 @@ provisioner: group_vars: ../group_vars host_vars: instance: - wildfly_java_package_name: java-11-openjdk-headless + wildfly_java_package_name: java-17-openjdk-headless molecule_scenario_requires_app: true localhost: ansible_python_interpreter: "{{ ansible_playbook_python }}" @@ -46,6 +46,8 @@ provisioner: ANSIBLE_ROLES_PATH: "../../roles" verifier: name: ansible + options: + sudo: true scenario: test_sequence: - cleanup diff --git a/molecule/custom_config_file/molecule.yml b/molecule/custom_config_file/molecule.yml index e730db6..d199c45 100644 --- a/molecule/custom_config_file/molecule.yml +++ b/molecule/custom_config_file/molecule.yml @@ -41,6 +41,8 @@ provisioner: ANSIBLE_ROLES_PATH: "../../roles" verifier: name: ansible + options: + sudo: true scenario: test_sequence: - cleanup diff --git a/molecule/custom_config_file/vars.yml b/molecule/custom_config_file/vars.yml index 10f75f4..bb9d648 100644 --- a/molecule/custom_config_file/vars.yml +++ b/molecule/custom_config_file/vars.yml @@ -1,5 +1,5 @@ wildfly_config_custom_file: files/wildfly-custom.xml -wildfly_version: '34.0.0.Final' +wildfly_version: '35.0.0.Final' wildfly_archive_filename: "wildfly-{{ wildfly_version }}.zip" wildfly_download_baseurl: 'https://github.com/wildfly/wildfly/releases/download' wildfly_install_download_url: "{{ wildfly_download_baseurl }}/{{ wildfly_version }}/{{ wildfly_archive_filename }}" diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index de7cfd0..fa31eef 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -31,7 +31,7 @@ provisioner: group_vars: ../group_vars host_vars: instance: - wildfly_java_package_name: java-11-openjdk-headless + wildfly_java_package_name: java-17-openjdk-headless localhost: ansible_python_interpreter: "{{ ansible_playbook_python }}" env: @@ -45,6 +45,8 @@ provisioner: ANSIBLE_ROLES_PATH: "../../roles" verifier: name: ansible + options: + sudo: true scenario: test_sequence: - cleanup diff --git a/molecule/install_options/converge.yml b/molecule/install_options/converge.yml index 26ba554..e1ad64e 100644 --- a/molecule/install_options/converge.yml +++ b/molecule/install_options/converge.yml @@ -4,4 +4,4 @@ wildfly_install_workdir: /apps/ wildfly_user: mware wildfly_group: sysgroup - wildfly_java_package_name: java-11-openjdk-headless + wildfly_java_package_name: java-17-openjdk-headless diff --git a/molecule/install_options/molecule.yml b/molecule/install_options/molecule.yml index f9c62ba..49c69f0 100644 --- a/molecule/install_options/molecule.yml +++ b/molecule/install_options/molecule.yml @@ -41,6 +41,8 @@ provisioner: ANSIBLE_ROLES_PATH: "../../roles" verifier: name: ansible + options: + sudo: true scenario: test_sequence: - cleanup diff --git a/molecule/install_options/verify.yml b/molecule/install_options/verify.yml index 4f6078e..5d3c5d4 100644 --- a/molecule/install_options/verify.yml +++ b/molecule/install_options/verify.yml @@ -12,5 +12,5 @@ tasks: - name: Verify we are running on requested jvm ansible.builtin.shell: | - ps -ef | grep /etc/alternatives/jre_11/bin/java | grep -v grep + ps -ef | grep /etc/alternatives/jre_17/bin/java | grep -v grep changed_when: False diff --git a/molecule/prepare.yml b/molecule/prepare.yml index 3fbb256..f222f78 100644 --- a/molecule/prepare.yml +++ b/molecule/prepare.yml @@ -38,7 +38,7 @@ become: true ansible.builtin.yum: name: - - java-11-openjdk + - java-17-openjdk - procps-ng - tzdata-java state: present diff --git a/molecule/prospero/molecule.yml b/molecule/prospero/molecule.yml index c15d6aa..ef56db3 100644 --- a/molecule/prospero/molecule.yml +++ b/molecule/prospero/molecule.yml @@ -29,7 +29,7 @@ provisioner: group_vars: ../group_vars host_vars: instance: - wildfly_java_package_name: java-11-openjdk-headless + wildfly_java_package_name: java-17-openjdk-headless localhost: ansible_python_interpreter: "{{ ansible_playbook_python }}" env: @@ -43,6 +43,8 @@ provisioner: ANSIBLE_ROLES_PATH: "../../roles" verifier: name: ansible + options: + sudo: true scenario: test_sequence: - cleanup diff --git a/molecule/uninstall/molecule.yml b/molecule/uninstall/molecule.yml index 246f2a0..429eca2 100644 --- a/molecule/uninstall/molecule.yml +++ b/molecule/uninstall/molecule.yml @@ -31,7 +31,7 @@ provisioner: group_vars: ../group_vars host_vars: instance: - wildfly_java_package_name: java-11-openjdk-headless + wildfly_java_package_name: java-17-openjdk-headless localhost: ansible_python_interpreter: "{{ ansible_playbook_python }}" env: @@ -45,6 +45,8 @@ provisioner: ANSIBLE_ROLES_PATH: "../../roles" verifier: name: ansible + options: + sudo: true scenario: test_sequence: - cleanup diff --git a/molecule/uninstall/vars.yml b/molecule/uninstall/vars.yml index b9cdbe1..0adc1d3 100644 --- a/molecule/uninstall/vars.yml +++ b/molecule/uninstall/vars.yml @@ -1,4 +1,4 @@ --- wildfly_uninstall_service_name: wildfly -wildfly_uninstall_home: /opt/wildfly/wildfly-34.0.0.Final -wildfly_uninstall_path_to_archive: /opt/wildfly/wildfly-34.0.0.Final.zip +wildfly_uninstall_home: /opt/wildfly/wildfly-35.0.0.Final +wildfly_uninstall_path_to_archive: /opt/wildfly/wildfly-35.0.0.Final.zip diff --git a/molecule/yaml_config_validation/molecule.yml b/molecule/yaml_config_validation/molecule.yml index abde2f5..19bf8ad 100644 --- a/molecule/yaml_config_validation/molecule.yml +++ b/molecule/yaml_config_validation/molecule.yml @@ -29,7 +29,7 @@ provisioner: group_vars: ../group_vars host_vars: instance: - wildfly_java_package_name: java-11-openjdk-headless + wildfly_java_package_name: java-17-openjdk-headless localhost: ansible_python_interpreter: "{{ ansible_playbook_python }}" env: @@ -43,6 +43,8 @@ provisioner: ANSIBLE_ROLES_PATH: "../../roles" verifier: name: ansible + options: + sudo: true scenario: test_sequence: - cleanup diff --git a/roles/wildfly_driver/README.md b/roles/wildfly_driver/README.md index 7b03b45..884226f 100644 --- a/roles/wildfly_driver/README.md +++ b/roles/wildfly_driver/README.md @@ -13,7 +13,7 @@ Role Defaults |:---------|:------------|:--------| |`wildfly_driver_module_dir`| Path for module installation | `{{ wildfly_home }}/modules/{{ wildfly_driver_module_name | replace('.', '/') }}/main` | |`wildfly_driver_jar_installation_path`| Path for jdbc driver installation | `{{ wildfly_driver_module_dir }}/{{ wildfly_driver_jar_filename }}` | -|`wildfly_version`| Wildfly version to install | `34.0.0.Final` | +|`wildfly_version`| Wildfly version to install | `35.0.0.Final` | |`wildfly_home`| Wildfly installation directory | `/opt/wildfly/wildfly-{{ wildfly_version }}/` | |`wildfly_user`| posix user account for wildfly | `wildfly` | |`wildfly_group`| posix group for wildfly | `{{ wildfly_user }}` | diff --git a/roles/wildfly_driver/defaults/main.yml b/roles/wildfly_driver/defaults/main.yml index 8728172..82def0d 100644 --- a/roles/wildfly_driver/defaults/main.yml +++ b/roles/wildfly_driver/defaults/main.yml @@ -1,7 +1,7 @@ --- wildfly_user: 'wildfly' wildfly_group: "{{ wildfly_user }}" -wildfly_version: '34.0.0.Final' +wildfly_version: '35.0.0.Final' wildfly_home: "/opt/wildfly/wildfly-{{ wildfly_version }}/" wildfly_driver_module_dir: "{{ wildfly_home }}/modules/{{ wildfly_driver.module_name | replace('.', '/') }}/main" wildfly_driver_jar_installation_path: "{{ wildfly_driver_module_dir }}/{{ wildfly_driver_jar_filename }}" diff --git a/roles/wildfly_driver/meta/argument_specs.yml b/roles/wildfly_driver/meta/argument_specs.yml index 77d1a5f..f967799 100644 --- a/roles/wildfly_driver/meta/argument_specs.yml +++ b/roles/wildfly_driver/meta/argument_specs.yml @@ -26,7 +26,7 @@ argument_specs: description: "Name for the jdbc driver module" type: "str" wildfly_version: - default: "34.0.0.Final" + default: "35.0.0.Final" description: "Wildfly version to install" type: "str" wildfly_home: diff --git a/roles/wildfly_install/README.md b/roles/wildfly_install/README.md index a558c28..2c744dc 100644 --- a/roles/wildfly_install/README.md +++ b/roles/wildfly_install/README.md @@ -15,7 +15,7 @@ Role Defaults | Variable | Description | Default | |:---------|:------------|:--------| -|`wildfly_version`| Wildfly version to install | `34.0.0.Final` | +|`wildfly_version`| Wildfly version to install | `35.0.0.Final` | |`wildfly_archive_filename`| Wildfly download archive name | `wildfly-{{ wildfly_version }}.zip` | |`wildfly_download_baseurl`| Base URL for wildfly download | `https://github.com/wildfly/wildfly/releases/download` | |`wildfly_install_workdir`| Wildfly installation directory (where the server files are unzipped) | `/opt/wildfly/` | diff --git a/roles/wildfly_install/defaults/main.yml b/roles/wildfly_install/defaults/main.yml index 051353d..d9271fa 100644 --- a/roles/wildfly_install/defaults/main.yml +++ b/roles/wildfly_install/defaults/main.yml @@ -1,5 +1,5 @@ --- -wildfly_version: '34.0.0.Final' +wildfly_version: '35.0.0.Final' wildfly_archive_filename: "wildfly-{{ wildfly_version }}.zip" wildfly_archive_filename_on_controller: true wildfly_download_baseurl: 'https://github.com/wildfly/wildfly/releases/download' @@ -12,7 +12,7 @@ wildfly_config_base: 'standalone.xml' wildfly_config_custom_file: '' wildfly_user: 'wildfly' wildfly_group: "{{ wildfly_user }}" -wildfly_java_version: 11 +wildfly_java_version: 17 wildfly_java_package_name: "java-{{ wildfly_java_version }}-openjdk-headless" wildfly_install_force_reinstall_config_base: false diff --git a/roles/wildfly_install/meta/argument_specs.yml b/roles/wildfly_install/meta/argument_specs.yml index 3cca66b..ad5a500 100644 --- a/roles/wildfly_install/meta/argument_specs.yml +++ b/roles/wildfly_install/meta/argument_specs.yml @@ -2,7 +2,7 @@ argument_specs: main: options: wildfly_version: - default: "34.0.0.Final" + default: "35.0.0.Final" description: "Wildfly version to install" type: "str" wildfly_archive_filename: diff --git a/roles/wildfly_systemd/README.md b/roles/wildfly_systemd/README.md index a00a50f..bfa4a2d 100644 --- a/roles/wildfly_systemd/README.md +++ b/roles/wildfly_systemd/README.md @@ -18,7 +18,7 @@ Role Defaults |:---------|:------------|:--------| |`wildfly_user`| posix user account for wildfly service | `wildfly` | |`wildfly_group`| posix group for wildfly service | `{{ wildfly_user }}` | -|`wildfly_version`| Wildfly version to install | `34.0.0.Final` | +|`wildfly_version`| Wildfly version to install | `35.0.0.Final` | |`wildfly_install_workdir`| Wildfly installation directory (where the server files are unzipped) | `/opt/wildfly/` | |`wildfly_home`| Wildfly installation directory (WILDFLY_HOME) | `{{ wildfly_install_workdir }}wildfly-{{ wildfly_version }}/` | |`wildfly_config_base`| Base standalone.xml config for instance | `standalone.xml` unless `wildfly_config_custom_file` is used | diff --git a/roles/wildfly_systemd/defaults/main.yml b/roles/wildfly_systemd/defaults/main.yml index 7451c36..6a993e8 100644 --- a/roles/wildfly_systemd/defaults/main.yml +++ b/roles/wildfly_systemd/defaults/main.yml @@ -1,7 +1,7 @@ --- wildfly_user: 'wildfly' wildfly_group: "{{ wildfly_user }}" -wildfly_version: '34.0.0.Final' +wildfly_version: '35.0.0.Final' wildfly_install_workdir: '/opt/wildfly/' wildfly_home: "{{ wildfly_install_workdir }}wildfly-{{ wildfly_version }}" wildfly_config_base: 'standalone.xml' diff --git a/roles/wildfly_systemd/meta/argument_specs.yml b/roles/wildfly_systemd/meta/argument_specs.yml index d5b38f6..88dc9cf 100644 --- a/roles/wildfly_systemd/meta/argument_specs.yml +++ b/roles/wildfly_systemd/meta/argument_specs.yml @@ -18,7 +18,7 @@ argument_specs: description: "posix group for wildfly service" type: "str" wildfly_version: - default: "34.0.0.Final" + default: "35.0.0.Final" description: "Wildfly version to install" type: "str" wildfly_install_workdir: diff --git a/roles/wildfly_uninstall/README.md b/roles/wildfly_uninstall/README.md index d2ad505..5353f84 100644 --- a/roles/wildfly_uninstall/README.md +++ b/roles/wildfly_uninstall/README.md @@ -38,8 +38,8 @@ Role Variables gather_facts: false vars: wildfly_uninstall_service_name: wildfly - wildfly_uninstall_home: /opt/wildfly/wildfly-34.0.0.Final - wildfly_uninstall_path_to_archive: /opt/wildfly/wildfly-34.0.0.Final.zip + wildfly_uninstall_home: /opt/wildfly/wildfly-35.0.0.Final + wildfly_uninstall_path_to_archive: /opt/wildfly/wildfly-35.0.0.Final.zip roles: - name: wildfly_uninstall ``` diff --git a/roles/wildfly_utils/defaults/main.yml b/roles/wildfly_utils/defaults/main.yml index 5c0a190..e003e6f 100644 --- a/roles/wildfly_utils/defaults/main.yml +++ b/roles/wildfly_utils/defaults/main.yml @@ -5,7 +5,7 @@ jboss_cli_apply_cp_default_conflict_default: '--override-all' wildfly_no_restart_after_patch: False wildfly_user: wildfly wildfly_group: "{{ wildfly_user }}" -wildfly_version: '34.0.0.Final' +wildfly_version: '35.0.0.Final' wildfly_install_workdir: '/opt/wildfly/' wildfly_home: "{{ wildfly_install_workdir }}wildfly-{{ wildfly_version }}/" wildfly_selinux_enabled: False @@ -13,7 +13,7 @@ jboss_home: "{{ wildfly_home }}" wildfly_utils_jboss_cli_require_privilege_escalation: true wildfly_port_range_offset: 0 -wildfly_prospero_version: 1.3.0.Final +wildfly_prospero_version: 1.3.1.Final wildfly_prospero_name: prospero wildfly_prospero_install_dir: /opt/prospero wildfly_prospero_profile_name: wildfly diff --git a/roles/wildfly_utils/meta/argument_specs.yml b/roles/wildfly_utils/meta/argument_specs.yml index ca40f85..0e752ca 100644 --- a/roles/wildfly_utils/meta/argument_specs.yml +++ b/roles/wildfly_utils/meta/argument_specs.yml @@ -26,7 +26,7 @@ argument_specs: description: "posix group for wildfly" type: "str" wildfly_version: - default: "34.0.0.Final" + default: "35.0.0.Final" description: "Wildfly version to install" type: "str" wildfly_install_workdir: @@ -166,7 +166,7 @@ argument_specs: prospero/main: options: wildfly_prospero_version: - default: "1.3.0.Final" + default: "1.3.1.Final" description: "Version of Prospero to use" type: "str" wildfly_prospero_name: diff --git a/roles/wildfly_validation/defaults/main.yml b/roles/wildfly_validation/defaults/main.yml index e0f1cc1..6d055b1 100644 --- a/roles/wildfly_validation/defaults/main.yml +++ b/roles/wildfly_validation/defaults/main.yml @@ -5,7 +5,7 @@ wildfly_service_name: wildfly wildfly_http_port: 8080 wildfly_https_port: 8443 wildfly_controller_port: 9990 -wildfly_version: '34.0.0.Final' +wildfly_version: '35.0.0.Final' wildfly_install_workdir: '/opt/wildfly/' wildfly_home: "{{ wildfly_install_workdir }}wildfly-{{ wildfly_version }}/" wildfly_pidfile_homedir: '/run/wildfly' diff --git a/roles/wildfly_validation/meta/argument_specs.yml b/roles/wildfly_validation/meta/argument_specs.yml index 736bad8..52ca40e 100644 --- a/roles/wildfly_validation/meta/argument_specs.yml +++ b/roles/wildfly_validation/meta/argument_specs.yml @@ -22,7 +22,7 @@ argument_specs: description: "Server HTTPS port" type: "str" wildfly_version: - default: "34.0.0.Final" + default: "35.0.0.Final" description: "Wildfly version to install" type: "str" wildfly_install_workdir: