Update 3 files
- /ansible.cfg - /inventories/hosts.yml - /olimp-deploy.yml
This commit is contained in:
parent
9593a634bc
commit
51c882a2af
@ -1,5 +1,5 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
collections_paths = /root/.ansible/collections:/usr/share/ansible/collections
|
collections_path = /root/.ansible/collections:/usr/share/ansible/collections
|
||||||
inventory = inventories/hosts.yml
|
inventory = inventories/hosts.yml
|
||||||
host_key_checking = False
|
host_key_checking = False
|
||||||
remote_user = root
|
remote_user = root
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
all:
|
all:
|
||||||
children:
|
children:
|
||||||
proxmox:
|
proxmox_server:
|
||||||
hosts:
|
hosts:
|
||||||
proxmox:
|
proxmox:
|
||||||
ansible_host: 192.168.1.200
|
ansible_host: 192.168.1.200
|
||||||
ansible_user: root
|
ansible_user: root
|
||||||
|
|
||||||
gateway:
|
gateway_server:
|
||||||
hosts:
|
hosts:
|
||||||
gateway:
|
gateway:
|
||||||
ansible_host: 192.168.1.221
|
ansible_host: 192.168.1.221
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Create Gateway LXC container in Proxmox
|
- name: Create Gateway LXC container in Proxmox
|
||||||
hosts: proxmox
|
hosts: proxmox_server
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars_files:
|
vars_files:
|
||||||
- vault.yml
|
- vault.yml
|
||||||
@ -9,7 +9,7 @@
|
|||||||
tags: deploy_lxc
|
tags: deploy_lxc
|
||||||
|
|
||||||
- name: Base setup for gateway
|
- name: Base setup for gateway
|
||||||
hosts: gateway
|
hosts: gateway_server
|
||||||
vars_files:
|
vars_files:
|
||||||
- vault.yml
|
- vault.yml
|
||||||
roles:
|
roles:
|
||||||
@ -17,19 +17,19 @@
|
|||||||
tags: base_setup
|
tags: base_setup
|
||||||
|
|
||||||
- name: Install Docker on gateway
|
- name: Install Docker on gateway
|
||||||
hosts: gateway
|
hosts: gateway_server
|
||||||
roles:
|
roles:
|
||||||
- role: docker
|
- role: docker
|
||||||
tags: deploy_docker
|
tags: deploy_docker
|
||||||
|
|
||||||
- name: Deploy Heimdall service
|
- name: Deploy Heimdall service
|
||||||
hosts: gateway
|
hosts: gateway_server
|
||||||
roles:
|
roles:
|
||||||
- role: heimdall
|
- role: heimdall
|
||||||
tags: deploy_heimdall
|
tags: deploy_heimdall
|
||||||
|
|
||||||
- name: Deploy NPM service
|
- name: Deploy NPM service
|
||||||
hosts: gateway
|
hosts: gateway_server
|
||||||
roles:
|
roles:
|
||||||
- role: npm
|
- role: npm
|
||||||
tags: deploy_npm
|
tags: deploy_npm
|
||||||
Loading…
Reference in New Issue
Block a user