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]
|
||||
collections_paths = /root/.ansible/collections:/usr/share/ansible/collections
|
||||
collections_path = /root/.ansible/collections:/usr/share/ansible/collections
|
||||
inventory = inventories/hosts.yml
|
||||
host_key_checking = False
|
||||
remote_user = root
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
all:
|
||||
children:
|
||||
proxmox:
|
||||
proxmox_server:
|
||||
hosts:
|
||||
proxmox:
|
||||
ansible_host: 192.168.1.200
|
||||
ansible_user: root
|
||||
|
||||
gateway:
|
||||
gateway_server:
|
||||
hosts:
|
||||
gateway:
|
||||
ansible_host: 192.168.1.221
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Create Gateway LXC container in Proxmox
|
||||
hosts: proxmox
|
||||
hosts: proxmox_server
|
||||
gather_facts: false
|
||||
vars_files:
|
||||
- vault.yml
|
||||
@ -9,7 +9,7 @@
|
||||
tags: deploy_lxc
|
||||
|
||||
- name: Base setup for gateway
|
||||
hosts: gateway
|
||||
hosts: gateway_server
|
||||
vars_files:
|
||||
- vault.yml
|
||||
roles:
|
||||
@ -17,19 +17,19 @@
|
||||
tags: base_setup
|
||||
|
||||
- name: Install Docker on gateway
|
||||
hosts: gateway
|
||||
hosts: gateway_server
|
||||
roles:
|
||||
- role: docker
|
||||
tags: deploy_docker
|
||||
|
||||
- name: Deploy Heimdall service
|
||||
hosts: gateway
|
||||
hosts: gateway_server
|
||||
roles:
|
||||
- role: heimdall
|
||||
tags: deploy_heimdall
|
||||
|
||||
- name: Deploy NPM service
|
||||
hosts: gateway
|
||||
hosts: gateway_server
|
||||
roles:
|
||||
- role: npm
|
||||
tags: deploy_npm
|
||||
Loading…
Reference in New Issue
Block a user