mirror of
https://gitea.0xace.cc/ansible-galaxy/consul.git
synced 2025-07-01 09:23:09 +00:00
rename consul_install_repo to consul_install_official_repo for better understanding
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
enabled: yes
|
||||
gpgcheck: yes
|
||||
gpgkey: https://rpm.releases.hashicorp.com/gpg
|
||||
when: consul_install_repo
|
||||
when: consul_install_official_repo
|
||||
|
||||
- name: "Install {{ consul_package_name }}-{{ consul_version }} from official repository"
|
||||
dnf:
|
||||
@ -18,7 +18,7 @@
|
||||
update_cache: yes
|
||||
disablerepo: '*'
|
||||
register: consul_setup
|
||||
when: consul_install_repo
|
||||
when: consul_install_official_repo
|
||||
|
||||
- name: "Install {{ consul_package_name }}-{{ consul_version }}"
|
||||
dnf:
|
||||
@ -26,7 +26,7 @@
|
||||
state: present
|
||||
disable_gpg_check: yes
|
||||
register: consul_setup
|
||||
when: not consul_install_repo
|
||||
when: not consul_install_official_repo
|
||||
|
||||
- name: Fix "/etc/consul.d/consul.env"
|
||||
copy:
|
||||
|
Reference in New Issue
Block a user