diff options
author | Determinant <[email protected]> | 2020-08-30 00:15:08 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-08-30 00:15:08 -0400 |
commit | d5bf357c8010bb1219d04ede14ce699b409e93c5 (patch) | |
tree | 042e6bc94994b899c9b31b7816648b557271a3f5 /scripts/deploy/app/_setup.yml | |
parent | dc28778f9c10d8128abfcf4fea7339c69bd6074d (diff) |
fix the connection issue with --notls flag on; WIP: deployment example
Diffstat (limited to 'scripts/deploy/app/_setup.yml')
-rw-r--r-- | scripts/deploy/app/_setup.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/scripts/deploy/app/_setup.yml b/scripts/deploy/app/_setup.yml new file mode 100644 index 0000000..7a9ba28 --- /dev/null +++ b/scripts/deploy/app/_setup.yml @@ -0,0 +1,34 @@ +--- +# available vars: +# workdir -- the local directory of run_id + +- name: setup libhotstuff example binaries + block: + - apt: + pkg: + - g++ + - libssl-dev + - libuv1-dev + - cmake + - make + - dh-autoreconf + state: + latest + become: true + become_user: root + - file: + path: "{{ hs_repo_dir }}" + state: directory + - synchronize: + archive: true + delete: true + src: "{{ (workdir, hs_local_repo_dir, '') | path_join }}" + dest: "{{ hs_repo_dir }}" + mode: push + rsync_opts: + - "--exclude=.git" + - "--exclude=scripts/" + - "--exclude=CMakeCache.txt" + - "--exclude=CMakeFiles" + - "--exclude=libsecp256k1-prefix" + - "--delete-excluded" |