Frank now working with netbird and nats + jetstream
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
---
|
||||
- name: Check if frank .env file exists
|
||||
stat: path="/home/{{ user }}/frank.env"
|
||||
register: status
|
||||
|
||||
- name: No need to upload the frank .env file
|
||||
debug:
|
||||
msg: "No need to upload the frank .env file as it already exists."
|
||||
|
||||
- name: Upload the frank .env file
|
||||
when: not status.stat.exists
|
||||
template:
|
||||
src: files/frank.env
|
||||
dest: "/home/{{ user }}/frank.env"
|
||||
@@ -24,14 +15,14 @@
|
||||
|
||||
- name: Pull frank image
|
||||
community.docker.docker_image:
|
||||
name: "registry.tanshu.com/frank:{{ frank_version | default('latest') }}"
|
||||
name: "registry.tanshu.com/frank:latest"
|
||||
source: pull
|
||||
force_source: true
|
||||
|
||||
- name: Create frank worker container
|
||||
community.docker.docker_container:
|
||||
name: "frank"
|
||||
image: "registry.tanshu.com/frank:{{ frank_version | default('latest') }}"
|
||||
image: "registry.tanshu.com/frank:latest"
|
||||
state: started
|
||||
restart_policy: "no"
|
||||
env_file: "/home/{{ user }}/frank.env"
|
||||
|
||||
Reference in New Issue
Block a user