Starting build scripts
This commit is contained in:
parent
6831ae2cbd
commit
f92622c315
@ -1,7 +1,34 @@
|
|||||||
---
|
---
|
||||||
# tasks file for build
|
# tasks file for build
|
||||||
#
|
#
|
||||||
- name: Copy Containerfiles
|
- name: Create Containers/bitcoin Dir
|
||||||
ansible.posix.synchronize:
|
register: bitcoin_build
|
||||||
src: ContainerFiles
|
ansible.builtin.file:
|
||||||
dest: ContainerFiles
|
path: ~/Containers/bitcoin/bin
|
||||||
|
recursive: true
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Copy Containerfile Template
|
||||||
|
register: bitcoin_build
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: bitcoin/Containerfile.j2
|
||||||
|
dest: ~/Containers/bitcoin/Containerfile
|
||||||
|
|
||||||
|
- name: Copy btc_init Template
|
||||||
|
register: bitcoin_build
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: bitcoin/bin/btc_init.j2
|
||||||
|
dest: ~/Containers/bitcoin/bin/btc_init
|
||||||
|
|
||||||
|
- name: Copy entrypoint.sh
|
||||||
|
register: bitcoin_build
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: bitcoin/entrypoint.sh
|
||||||
|
dest: ~/Containers/bitcoin/entrypoint.sh
|
||||||
|
|
||||||
|
- name: Copy btc_oneshot
|
||||||
|
register: bitcoin_build
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: bitcoin/bin/btc_oneshot
|
||||||
|
dest: ~/Containers/bitcoin/bin/btc_oneshot
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user