Commit 148ff496 authored by Юрий Дегтярёв's avatar Юрий Дегтярёв
Browse files

edit task Add Consul repository

parent a1f7e353
Pipeline #35129 failed with stages
in 57 seconds
...@@ -73,16 +73,25 @@ ...@@ -73,16 +73,25 @@
# tags: # tags:
# - repo # - repo
- name: Install yum-utils #- name: Install yum-utils
yum: # yum:
name: yum-utils # name: yum-utils
state: present # state: present
update_cache: "True" # update_cache: "True"
allow_downgrade: "True" # allow_downgrade: "True"
#- name: Add Consul repository
# shell:
# yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
- name: Add Consul repository - name: Add Consul repository
shell: yum_repository:
yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo name: consul
description: consul repository
baseurl: https://rpm.releases.hashicorp.com/RHEL/$releasever/$basearch/stable
enabled: "True"
gpgcheck: yes
gpgkey: https://rpm.releases.hashicorp.com/gpg
- name: Install Consul - name: Install Consul
yum: yum:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment