redhat-cop / jboss_amq

[Deprecated] - Ansible role to install JBoss AMQ
Apache License 2.0
14 stars 18 forks source link

Cannot create users anymore via the Artemis binary in AMQ 7.8 #24

Open robert-floor opened 3 years ago

robert-floor commented 3 years ago

Dear All,

In AMQ 7.8 it is no longer possible to create users with the command: artemis user add. Therefore this role can no longer install AMQ 7.8. The problematic part is:

- name: configure - users-roles - create additional messaging users
  shell: >
    {{ amq_broker_dir }}/{{ amq_broker_name }}/bin/artemis user add
    --user {{ item.name }}
    --password {{ item.password }}
    --role {{ item.role }}
  changed_when: False
  with_items:
    - "{{ amq_broker_users }}