Skip to content

Commit

Permalink
Fix delfin os version for 18.04 & 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-v committed Jan 5, 2021
1 parent 26c7960 commit 95fb7dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ansible/group_vars/delfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dummy:
enable_delfin: false

# delfin installation types are: 'repository', 'release' and 'container''
delfin_installation_type: "repository" # "{{ install_from }}"
delfin_installation_type: "{{ install_from }}"

# These fields are NOT suggested to be modifie
delfin_work_dir: /opt/delfin-linux-amd64
Expand Down
18 changes: 9 additions & 9 deletions ansible/roles/delfin-installer/scenarios/rabbitmq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,34 @@

- name: Add RabbitMQ official repo
apt_repository:
repo: deb https://dl.bintray.com/rabbitmq/debian xenial main
repo: deb https://dl.bintray.com/rabbitmq/debian {{ ansible_distribution_release }} main
state: present
filename: rabbitmq
become: yes
when:
- rabbitmqservice.stat.exists is undefined or rabbitmqservice.stat.exists == false

- name: Import RabbitMQ public key
apt_key:
apt_key:
url: https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
state: present
become: yes
when:
- rabbitmqservice.stat.exists is undefined or rabbitmqservice.stat.exists == false

- name: Add Erlang official repo
apt_repository:
repo: deb https://binaries.erlang-solutions.com/debian xenial contrib
- name: Import Erlang public key
apt_key:
url: https://packages.erlang-solutions.com/debian/erlang_solutions.asc
state: present
filename: erlang
become: yes
when:
- rabbitmqservice.stat.exists is undefined or rabbitmqservice.stat.exists == false

- name: Import Erlang public key
apt_key:
url: https://packages.erlang-solutions.com/debian/erlang_solutions.asc
- name: Add Erlang official repo
apt_repository:
repo: deb https://binaries.erlang-solutions.com/debian {{ ansible_distribution_release }} contrib
state: present
filename: erlang
become: yes
when:
- rabbitmqservice.stat.exists is undefined or rabbitmqservice.stat.exists == false
Expand Down

0 comments on commit 95fb7dd

Please sign in to comment.