Install apt-transport-https for debian
This commit is contained in:
parent
fb31a1fcb5
commit
8a6928815d
1 changed files with 7 additions and 3 deletions
|
|
@ -5,15 +5,19 @@
|
||||||
- set_fact: force_install=yes
|
- set_fact: force_install=yes
|
||||||
when: es_allow_downgrades
|
when: es_allow_downgrades
|
||||||
|
|
||||||
|
- name: Debian - Install apt-transport-https to support https APT downloads
|
||||||
|
apt: name=apt-transport-https state=present
|
||||||
|
when: es_use_repository
|
||||||
|
|
||||||
- name: Debian - Add Elasticsearch repository key
|
- name: Debian - Add Elasticsearch repository key
|
||||||
apt_key: url="{{ es_apt_key }}" state=present
|
apt_key: url="{{ es_apt_key }}" state=present
|
||||||
when: es_use_repository and es_apt_key
|
when: es_use_repository and es_apt_key
|
||||||
|
|
||||||
- name: Debian - add elasticsearch repository
|
- name: Debian - Add elasticsearch repository
|
||||||
apt_repository: repo="{{ es_apt_url }}" state=present
|
apt_repository: repo="{{ es_apt_url }}" state=present
|
||||||
when: es_use_repository
|
when: es_use_repository
|
||||||
|
|
||||||
- name: Debian - include versionlock
|
- name: Debian - Include versionlock
|
||||||
include: elasticsearch-Debian-version-lock.yml
|
include: elasticsearch-Debian-version-lock.yml
|
||||||
when: es_version_lock
|
when: es_version_lock
|
||||||
|
|
||||||
|
|
@ -33,4 +37,4 @@
|
||||||
|
|
||||||
# ansible uri module requires httplib2
|
# ansible uri module requires httplib2
|
||||||
- name: python-httplib2
|
- name: python-httplib2
|
||||||
apt: name=python-httplib2
|
apt: name=python-httplib2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue