mirror of
https://github.com/status-im/infra-faucet.git
synced 2025-02-25 00:58:55 +00:00
28 lines
650 B
YAML
28 lines
650 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
|