Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix(tasks): update rpm repository (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlourme authored Jun 23, 2022
1 parent 50592ff commit 1062857
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
10 changes: 1 addition & 9 deletions tasks/install/yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,14 @@
#Main installation actions
#https://clickhouse.com/docs/en/getting-started/#installation

- name: Install by YUM | Ensure clickhouse repo GPG key imported
rpm_key:
state: present
key: "{{ clickhouse_repo_key }}"
tags: [install]
become: true

- name: Install by YUM | Ensure clickhouse repo installed
yum_repository:
name: clickhouse
file: clickhouse
description: "Clickhouse repo"
baseurl: "{{ clickhouse_repo }}"
gpgcheck: no
enabled: yes
gpgcheck: 1
gpgkey: "{{ clickhouse_repo_key }}"
tags: [install]
become: true

Expand Down
6 changes: 0 additions & 6 deletions tasks/remove/yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,3 @@
file: clickhouse
state: absent
become: true

- name: Uninstall by YUM | Ensure clickhouse key uninstalled
rpm_key:
key: "{{ clickhouse_repo_key }}"
state: absent
become: true
3 changes: 1 addition & 2 deletions vars/redhat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
clickhouse_supported: yes
clickhouse_repo: "https://repo.clickhouse.tech/rpm/stable/x86_64/"
clickhouse_repo_key: https://repo.clickhouse.tech//CLICKHOUSE-KEY.GPG
clickhouse_repo: "https://packages.clickhouse.com/rpm/clickhouse.repo"

0 comments on commit 1062857

Please sign in to comment.