Capturing containers running directly on Node
This commit is contained in:
+7
-1
@@ -85,6 +85,12 @@ all:
|
||||
tap: true
|
||||
active_vms:
|
||||
- TDS-Jump
|
||||
active_containers:
|
||||
- 'takserver-5.4-RELEASE-17': 'takserver:5.4-RELEASE-17'
|
||||
- 'takserver-db-5.4-RELEASE-17': 'takserver-db:5.4-RELEASE-17'
|
||||
- 'filestash': 'machines/filestash'
|
||||
- 'filestash_oods': 'onlyoffice/documentserver'
|
||||
- 'geth-rancher': 'rancher/rancher'
|
||||
Node4:
|
||||
ansible_user: depriv
|
||||
ipinterface: enp1s0
|
||||
@@ -96,7 +102,7 @@ all:
|
||||
- Yggdrasil
|
||||
Geth:
|
||||
vars:
|
||||
primary: Geth0
|
||||
geth_primary: Geth1
|
||||
hosts:
|
||||
Geth0:
|
||||
ipinterface: eth0
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
- qemu-base
|
||||
- qemu-emulators-full
|
||||
- ddrescue
|
||||
- docker
|
||||
- python-requests
|
||||
state: present
|
||||
|
||||
- name: Copy VM definitions
|
||||
@@ -69,3 +71,11 @@
|
||||
name: "{{ item }}-vm.service"
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: Enable containers
|
||||
become: yes
|
||||
community.docker.docker_container:
|
||||
name: "{{ item.key }}"
|
||||
image: '{{ item.value }}'
|
||||
state: started
|
||||
with_dict: "{{ active_containers }}"
|
||||
|
||||
Reference in New Issue
Block a user