mirror of
https://github.com/status-im/infra-faucet.git
synced 2025-02-24 16:48:54 +00:00
31 lines
731 B
YAML
31 lines
731 B
YAML
---
|
|
- name: Create container folders
|
|
file:
|
|
path: '{{ item }}'
|
|
state: directory
|
|
mode: 0750
|
|
owner: dockremap
|
|
group: docker
|
|
with_items:
|
|
- '{{ faucet_geth_vol }}/data'
|
|
- '{{ faucet_geth_vol }}/data/keystore'
|
|
|
|
- name: Create faucet wallet keystore file
|
|
copy:
|
|
dest: '{{ faucet_geth_vol }}/data/keystore/wallet.json'
|
|
content: '{{ faucet_account_json }}'
|
|
mode: 0640
|
|
owner: dockremap
|
|
group: docker
|
|
|
|
- name: Create faucet wallet password file
|
|
copy:
|
|
dest: '{{ faucet_geth_vol }}/data/keystore/wallet.pass'
|
|
content: '{{ faucet_account_pass }}'
|
|
mode: 0640
|
|
owner: dockremap
|
|
group: docker
|
|
|
|
- name: Load config based on network
|
|
include_vars: '{{ faucet_network }}.yml'
|