Skip to content

update test #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion molecule/amq_upgrade/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
ansible.builtin.include_role:
name: middleware_automation.amq.activemq
vars:
activemq_version: "{{ '7.12.0' if amq_broker_enable is defined and amq_broker_enable else '2.36.0' }}"
activemq_version: "{{ '7.13.0' if amq_broker_enable is defined and amq_broker_enable else '2.40.0' }}"
2 changes: 1 addition & 1 deletion molecule/amq_upgrade/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
ansible.builtin.include_role:
name: middleware_automation.amq.activemq
vars:
activemq_version: "{{ '7.11.1' if amq_broker_enable is defined and amq_broker_enable else '2.34.0' }}"
activemq_version: "{{ '7.12.4' if amq_broker_enable is defined and amq_broker_enable else '2.36.0' }}"
12 changes: 0 additions & 12 deletions molecule/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
ansible.builtin.debug:
msg: "Ansible version is {{ ansible_version.full }}"

- name: Gather ip address
ansible.builtin.command: curl ifconfig.me
register: ip_public

- name: Display IP
ansible.builtin.debug:
msg: "IP Address is {{ ip_public }}"

- name: "Set package name for sudo"
ansible.builtin.set_fact:
sudo_pkg_name: 'sudo'
Expand All @@ -30,7 +22,3 @@
ansible.builtin.assert:
that:
- sudo_pkg_name in ansible_facts.packages

- name: "Retrieve assets server from env"
ansible.builtin.set_fact:
assets_server: "{{ lookup('env','MIDDLEWARE_DOWNLOAD_RELEASE_SERVER_URL') }}"
3 changes: 0 additions & 3 deletions roles/activemq/tasks/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
become: "{{ activemq_install_requires_become | default(true) }}"
become_user: "{{ activemq_service_user }}"
changed_when: true
register: broker_updated
when:
- not instance_directory.stat.exists

- name: "Update profile for instance {{ activemq.instance_name }} with new artemis version"
ansible.builtin.lineinfile:
Expand Down