mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 01:06:55 -06:00
[ansible] JFrog Platform 7.18.5 release (#106)
* [ansible] JFrog Platform 7.18.5 release
This commit is contained in:
committed by
GitHub
parent
94b2752d7d
commit
ab2644dd80
@@ -1,52 +0,0 @@
|
||||
---
|
||||
all:
|
||||
vars:
|
||||
ansible_user: "ubuntu"
|
||||
ansible_ssh_private_key_file: "{{ lookup('env', 'ansible_key') }}"
|
||||
children:
|
||||
database:
|
||||
hosts:
|
||||
#artifactory database
|
||||
52.86.32.79:
|
||||
db_users:
|
||||
- { db_user: "artifactory", db_password: "{{ lookup('env', 'artifactory_password') }}" }
|
||||
dbs:
|
||||
- { db_name: "artifactory", db_owner: "artifactory" }
|
||||
artifactory:
|
||||
vars:
|
||||
artifactory_version: 7.4.1
|
||||
artifactory_ha_enabled: true
|
||||
master_key: "c97b862469de0d94fbb7d48130637a5a"
|
||||
join_key: "9bcca98f375c0728d907cc6ee39d4f02"
|
||||
db_download_url: "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar"
|
||||
db_type: "postgresql"
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "jdbc:postgresql://10.0.0.160:5432/artifactory"
|
||||
db_user: "artifactory"
|
||||
db_password: "{{ lookup('env', 'artifactory_password') }}"
|
||||
server_name: "ec2-100-25-104-198.compute-1.amazonaws.com"
|
||||
certificate: |
|
||||
-----BEGIN CERTIFICATE-----
|
||||
x
|
||||
-----END CERTIFICATE-----
|
||||
certificate_key: |
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
x
|
||||
-----END PRIVATE KEY-----
|
||||
children:
|
||||
primary:
|
||||
hosts:
|
||||
100.25.104.198:
|
||||
artifactory_is_primary: true
|
||||
artifactory_license1: x
|
||||
artifactory_license2: x
|
||||
artifactory_license3: x
|
||||
artifactory_license4: x
|
||||
artifactory_license5: x
|
||||
secondary:
|
||||
hosts:
|
||||
54.160.107.157:
|
||||
35.153.79.44:
|
||||
vars:
|
||||
artifactory_is_primary: false
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
---
|
||||
all:
|
||||
vars:
|
||||
ansible_user: "ubuntu"
|
||||
ansible_ssh_private_key_file: "{{ lookup('env', 'ansible_key') }}"
|
||||
children:
|
||||
database:
|
||||
hosts:
|
||||
#artifactory database
|
||||
52.86.32.79:
|
||||
dbs:
|
||||
- { db_name: "artifactory", db_owner: "artifactory" }
|
||||
db_users:
|
||||
- { db_user: "artifactory", db_password: "{{ lookup('env', 'artifactory_password') }}" }
|
||||
#xray database
|
||||
100.25.152.93:
|
||||
dbs:
|
||||
- { db_name: "xraydb", db_owner: "xray" }
|
||||
db_users:
|
||||
- { db_user: "xray", db_password: "{{ lookup('env', 'xray_password') }}" }
|
||||
artifactory:
|
||||
vars:
|
||||
artifactory_version: 7.4.1
|
||||
artifactory_ha_enabled: true
|
||||
master_key: "c97b862469de0d94fbb7d48130637a5a"
|
||||
join_key: "9bcca98f375c0728d907cc6ee39d4f02"
|
||||
db_download_url: "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar"
|
||||
db_type: "postgresql"
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "jdbc:postgresql://10.0.0.51:5432/artifactory"
|
||||
db_user: "artifactory"
|
||||
db_password: "{{ lookup('env', 'artifactory_password') }}"
|
||||
server_name: "ec2-18-210-33-94.compute-1.amazonaws.com"
|
||||
children:
|
||||
primary:
|
||||
hosts:
|
||||
18.210.33.94:
|
||||
artifactory_is_primary: true
|
||||
artifactory_license1: x
|
||||
artifactory_license2: x
|
||||
artifactory_license3: x
|
||||
artifactory_license4: x
|
||||
artifactory_license5: x
|
||||
xray:
|
||||
vars:
|
||||
xray_version: 3.3.0
|
||||
jfrog_url: http://ec2-18-210-33-94.compute-1.amazonaws.com
|
||||
master_key: "c97b862469de0d94fbb7d48130637a5a"
|
||||
join_key: "9bcca98f375c0728d907cc6ee39d4f02"
|
||||
db_type: "postgresql"
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "postgres://10.0.0.5:5432/xraydb?sslmode=disable"
|
||||
db_user: "xray"
|
||||
db_password: "{{ lookup('env', 'xray_password') }}"
|
||||
hosts:
|
||||
# 34.229.56.166:
|
||||
54.237.68.180
|
||||
@@ -1,45 +0,0 @@
|
||||
---
|
||||
all:
|
||||
vars:
|
||||
ansible_user: "ubuntu"
|
||||
ansible_ssh_private_key_file: "{{ lookup('env', 'ansible_key') }}"
|
||||
children:
|
||||
database:
|
||||
hosts:
|
||||
34.239.107.0:
|
||||
dbs:
|
||||
- { db_name: "artifactory", db_owner: "artifactory" }
|
||||
- { db_name: "xraydb", db_owner: "xray" }
|
||||
db_users:
|
||||
- { db_user: "artifactory", db_password: "{{ lookup('env', 'artifactory_password') }}" }
|
||||
- { db_user: "xray", db_password: "{{ lookup('env', 'xray_password') }}" }
|
||||
artifactory:
|
||||
hosts:
|
||||
54.237.207.135:
|
||||
artifactory_version: 7.4.1
|
||||
artifactory_license1: x
|
||||
artifactory_license2: x
|
||||
artifactory_license3: x
|
||||
artifactory_license4: x
|
||||
artifactory_license5: x
|
||||
master_key: "c97b862469de0d94fbb7d48130637a5a"
|
||||
join_key: "9bcca98f375c0728d907cc6ee39d4f02"
|
||||
db_download_url: "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar"
|
||||
db_type: "postgresql"
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "jdbc:postgresql://10.0.0.59:5432/artifactory"
|
||||
db_user: "artifactory"
|
||||
db_password: "{{ lookup('env', 'artifactory_password') }}"
|
||||
server_name: "ec2-54-237-207-135.compute-1.amazonaws.com"
|
||||
xray:
|
||||
hosts:
|
||||
100.25.104.174:
|
||||
xray_version: 3.3.0
|
||||
jfrog_url: "http://ec2-54-237-207-135.compute-1.amazonaws.com"
|
||||
master_key: "c97b862469de0d94fbb7d48130637a5a"
|
||||
join_key: "9bcca98f375c0728d907cc6ee39d4f02"
|
||||
db_type: "postgresql"
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "postgres://10.0.0.59:5432/xraydb?sslmode=disable"
|
||||
db_user: "xray"
|
||||
db_password: "{{ lookup('env', 'xray_password') }}"
|
||||
@@ -1,25 +0,0 @@
|
||||
---
|
||||
all:
|
||||
vars:
|
||||
ansible_user: "ubuntu"
|
||||
children:
|
||||
database:
|
||||
hosts:
|
||||
54.83.163.100:
|
||||
db_users:
|
||||
- { db_user: "artifactory", db_password: "{{ lookup('env', 'artifactory_password') }}" }
|
||||
dbs:
|
||||
- { db_name: "artifactory", db_owner: "artifactory" }
|
||||
primary:
|
||||
hosts:
|
||||
54.165.47.191:
|
||||
artifactory_version: 7.4.1
|
||||
artifactory_is_primary: true
|
||||
artifactory_license_file: "{{ lookup('env', 'artifactory_license_file') }}"
|
||||
db_download_url: "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar"
|
||||
db_type: "postgresql"
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "jdbc:postgresql://10.0.0.219:5432/artifactory"
|
||||
db_user: "artifactory"
|
||||
db_password: "{{ lookup('env', 'artifactory_password') }}"
|
||||
server_name: "ec2-54-165-47-191.compute-1.amazonaws.com"
|
||||
@@ -1,40 +0,0 @@
|
||||
---
|
||||
all:
|
||||
vars:
|
||||
ansible_user: "ubuntu"
|
||||
ansible_ssh_private_key_file: "{{ lookup('env', 'ansible_key') }}"
|
||||
children:
|
||||
database:
|
||||
hosts:
|
||||
52.86.32.79:
|
||||
db_users:
|
||||
- { db_user: "artifactory", db_password: "{{ lookup('env', 'artifactory_password') }}" }
|
||||
dbs:
|
||||
- { db_name: "artifactory", db_owner: "artifactory" }
|
||||
primary:
|
||||
hosts:
|
||||
100.25.104.198:
|
||||
artifactory_version: 7.4.1
|
||||
artifactory_is_primary: true
|
||||
artifactory_license1: x
|
||||
artifactory_license2: x
|
||||
artifactory_license3: x
|
||||
artifactory_license4: x
|
||||
artifactory_license5: x
|
||||
master_key: "c97b862469de0d94fbb7d48130637a5a"
|
||||
join_key: "9bcca98f375c0728d907cc6ee39d4f02"
|
||||
db_download_url: "https://jdbc.postgresql.org/download/postgresql-42.2.12.jar"
|
||||
db_type: "postgresql"
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "jdbc:postgresql://10.0.0.160:5432/artifactory"
|
||||
db_user: "artifactory"
|
||||
db_password: "{{ lookup('env', 'artifactory_password') }}"
|
||||
server_name: "ec2-100-25-104-198.compute-1.amazonaws.com"
|
||||
certificate: |
|
||||
-----BEGIN CERTIFICATE-----
|
||||
x
|
||||
-----END CERTIFICATE-----
|
||||
certificate_key: |
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
x
|
||||
-----END PRIVATE KEY-----
|
||||
@@ -1,18 +0,0 @@
|
||||
---
|
||||
all:
|
||||
vars:
|
||||
ansible_user: "centos"
|
||||
children:
|
||||
xray:
|
||||
vars:
|
||||
xray_version: 3.3.0
|
||||
jfrog_url: http://ec2-18-210-33-94.compute-1.amazonaws.com
|
||||
master_key: "c97b862469de0d94fbb7d48130637a5a"
|
||||
join_key: "9bcca98f375c0728d907cc6ee39d4f02"
|
||||
db_type: "postgresql"
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "postgres://10.0.0.5:5432/xraydb?sslmode=disable"
|
||||
db_user: "xray"
|
||||
db_password: "{{ lookup('env', 'xray_password') }}"
|
||||
hosts:
|
||||
3.17.132.222
|
||||
15
Ansible/examples/inventory/platform/hosts.ini
Normal file
15
Ansible/examples/inventory/platform/hosts.ini
Normal file
@@ -0,0 +1,15 @@
|
||||
# Replace x.x.x.x with public Ips of servers
|
||||
[postgres_servers]
|
||||
postgres-1 ansible_host=x.x.x.x
|
||||
|
||||
[artifactory_servers]
|
||||
artifactory-1 ansible_host=x.x.x.x
|
||||
|
||||
[xray_servers]
|
||||
xray-1 ansible_host=x.x.x.x
|
||||
|
||||
[distribution_servers]
|
||||
distribution-1 ansible_host=x.x.x.x
|
||||
|
||||
[missionControl_servers]
|
||||
missionControl-1 ansible_host=x.x.x.x
|
||||
9
Ansible/examples/inventory/rt-xray/hosts.ini
Normal file
9
Ansible/examples/inventory/rt-xray/hosts.ini
Normal file
@@ -0,0 +1,9 @@
|
||||
# Replace x.x.x.x with public Ips of servers
|
||||
[postgres_servers]
|
||||
postgres-1 ansible_host=x.x.x.x
|
||||
|
||||
[artifactory_servers]
|
||||
artifactory-1 ansible_host=x.x.x.x
|
||||
|
||||
[xray_servers]
|
||||
xray-1 ansible_host=x.x.x.x
|
||||
6
Ansible/examples/inventory/rt/hosts.ini
Normal file
6
Ansible/examples/inventory/rt/hosts.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
# Replace x.x.x.x with public Ips of servers
|
||||
[postgres_servers]
|
||||
postgres-1 ansible_host=x.x.x.x
|
||||
|
||||
[artifactory_servers]
|
||||
artifactory-1 ansible_host=x.x.x.x
|
||||
6
Ansible/examples/inventory/xray/hosts.ini
Normal file
6
Ansible/examples/inventory/xray/hosts.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
# Replace x.x.x.x with public Ips of servers
|
||||
[postgres_servers]
|
||||
postgres-1 ansible_host=x.x.x.x
|
||||
|
||||
[xray_servers]
|
||||
xray-1 ansible_host=x.x.x.x
|
||||
30
Ansible/examples/playbook-platform.yml
Normal file
30
Ansible/examples/playbook-platform.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
- hosts: postgres_servers
|
||||
collections:
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- postgres
|
||||
|
||||
- hosts: artifactory_servers
|
||||
collections:
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- artifactory
|
||||
|
||||
- hosts: xray_servers
|
||||
collections:
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- xray
|
||||
|
||||
- hosts: distribution_servers
|
||||
collections:
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- distribution
|
||||
|
||||
- hosts: missioncontrol_servers
|
||||
collections:
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- missioncontrol
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
- hosts: database
|
||||
collections:
|
||||
- jfrog.installers
|
||||
roles:
|
||||
- postgres
|
||||
|
||||
- hosts: primary:secondary
|
||||
collections:
|
||||
- jfrog.installers
|
||||
roles:
|
||||
- artifactory
|
||||
- artifactory_nginx_ssl
|
||||
@@ -1,18 +1,18 @@
|
||||
---
|
||||
- hosts: database
|
||||
- hosts: postgres-servers
|
||||
collections:
|
||||
- jfrog.installers
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- postgres
|
||||
|
||||
- hosts: artifactory
|
||||
- hosts: artifactory-servers
|
||||
collections:
|
||||
- jfrog.installers
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- artifactory
|
||||
|
||||
- hosts: xray
|
||||
- hosts: xray-servers
|
||||
collections:
|
||||
- jfrog.installers
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- xray
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
- hosts: database
|
||||
- hosts: postgres_servers
|
||||
collections:
|
||||
- jfrog.installers
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- postgres
|
||||
|
||||
- hosts: primary
|
||||
- hosts: artifactory_servers
|
||||
collections:
|
||||
- jfrog.installers
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- artifactory
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
- hosts: database
|
||||
collections:
|
||||
- jfrog.installers
|
||||
roles:
|
||||
- postgres
|
||||
|
||||
- hosts: primary
|
||||
collections:
|
||||
- jfrog.installers
|
||||
roles:
|
||||
- artifactory
|
||||
- artifactory_nginx_ssl
|
||||
@@ -1,6 +1,12 @@
|
||||
---
|
||||
- hosts: xray
|
||||
- hosts: postgres_servers
|
||||
collections:
|
||||
- jfrog.installers
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- xray
|
||||
- postgres
|
||||
|
||||
- hosts: xray_servers
|
||||
collections:
|
||||
- jfrog.platform
|
||||
roles:
|
||||
- xray
|
||||
|
||||
Reference in New Issue
Block a user