Add opendistro_common for OpenDistro repository
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
d9fe57481a
commit
761df9d0b3
3 changed files with 77 additions and 0 deletions
53
roles/opendistro_common/files/opendistro.gpg
Normal file
53
roles/opendistro_common/files/opendistro.gpg
Normal file
|
@ -0,0 +1,53 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2
|
||||
|
||||
mQINBFxxbjoBEACzaNq4JNShPtxbESNK4Ihtj83FOJFPxZmr4v3OQY7YRxGeIuyT
|
||||
KeC1Epx5qOgWZ+H8EBpRp+QBZ80cQq5nbDmrEXHYSJzek8w4PxMlD1lQ2foarHOz
|
||||
tJ0DzsJyZHvHgpyKSV8K6Hp/Wt3ceL328TSxKZfKf55YS82oMofSqTDF+77NhB8o
|
||||
S90XQCJc8QSJnVyXExeL+h0c2VC+QUoYlgVGU+lLyBxVvPGU1Va21u1uuOqBnoY3
|
||||
ZsH2c8v5/GMDKnuXfiLfHrPS00e1x7H45m0EEr6T4cFzkylMlf+QhtPhvmK7XjQJ
|
||||
YMHlj801ORUyjukb8mrgiP56HvNoYILSzukppb7aZrqAaONC0el74AAvCygj0OZf
|
||||
Hnro2im0wFGrZ1cl+qO05M5yqxhMUX1SiVTlPum53NHADs5w2F+Bl+AiOPxJdq3I
|
||||
w7B+bHKE9pJTP6H8elbiEmjJ4ITPrk3j+nqqpOH9wPFUhLUu2V70/QtgrmJrseR3
|
||||
mxG+t8rXC0/0V4Gekf7+S28TpQfGg+ktmacSiIs76RnamUs8IyI2gnRX6LiW/AfQ
|
||||
Ipqg8wF1fYlh6BDo8TJC/Xce1/WU7LCDfJ3HHlPQXDXmTiumwad4n+clpzuTgH7P
|
||||
E+rv/9jxiFlJ6CIpaIVFBkmk5w1dFqiZBw/KBS4ltUriH/81Gyr7jzTr5QARAQAB
|
||||
tIBPcGVuRGlzdHJvRm9yRWxhc3RpY3NlYXJjaCAo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Js9RhSmUndJYdFAEw5dIo3vsPplU1iWE9TDXIIYwwEufYHoAGTAgoZId
|
||||
0PR2Y+KrvwxhjvjVObrydFbSeWUQzuibp7ipKiCy/jFKxglfiEb7lIWYBC0YbKnL
|
||||
xJpBNEUBBe4ZkpX9pmBmdFfhONUtLRKe730izWiuPWPbzPR2QHjUScywVWdUt9HF
|
||||
Nje2jUkK4Djt4dDlvqInFDSP+7fM5AOpvyry3XWtsEVcOOYV35RA20PQQ5pG7Tys
|
||||
qfEtsS5L0Btq1VY2i0v9ozPnraMLJQeC8Hdm1MP+5v7PKksREakEyLRyPUB13zva
|
||||
gPbaYazA6I5xRQgkPrHhMJLVllXUQC5CldKOHUUUhiBn6eEzBldiznarng92tmnd
|
||||
=l21b
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
4
roles/opendistro_common/meta/main.yml
Normal file
4
roles/opendistro_common/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: apt_common
|
||||
...
|
20
roles/opendistro_common/tasks/main.yml
Normal file
20
roles/opendistro_common/tasks/main.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
- name: Trust OpenDistro GPG key
|
||||
become: true
|
||||
apt_key:
|
||||
data: "{{ lookup('file', 'opendistro.gpg') }}"
|
||||
state: present
|
||||
|
||||
- name: Install OpenDistro repository
|
||||
become: true
|
||||
apt_repository:
|
||||
repo: deb https://d3g5vo6xdbdb9a.cloudfront.net/apt stable main
|
||||
state: present
|
||||
filename: opendistro
|
||||
|
||||
- name: Install default JRE
|
||||
become: true
|
||||
apt:
|
||||
name: default-jre-headless
|
||||
state: latest
|
||||
...
|
Loading…
Reference in a new issue