Created
August 20, 2019 16:34
-
-
Save xeroc/502f321aabaae0a8f41e7b759753e53a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: create pybitshares wallet | |
become_user: "{{bitshareseurope_pywallet_user}}" | |
become: yes | |
command: "{{bitshareseurope_pywallet_install_dir}}/env/bin/uptick createwallet --password '{{bitshareseurope_pywallet_passphrase | trim }}'" | |
args: | |
creates: "{{pybitshares_home}}/bitshares.sqlite" | |
- name: Set default node | |
become_user: "{{bitshareseurope_pywallet_user}}" | |
become: yes | |
command: "{{bitshareseurope_pywallet_install_dir}}/env/bin/uptick set node '{{bitshareseurope_pybitshares_node}}'" | |
- name: add wif keys to wallet | |
become_user: "{{bitshareseurope_pywallet_user}}" | |
become: yes | |
environment: | |
UNLOCK: "{{bitshareseurope_pywallet_passphrase | trim}}" | |
command: "{{bitshareseurope_pywallet_install_dir}}/env/bin/uptick addkey '{{item | trim}}'" | |
with_items: "{{bitshareseurope_pywallet_wifs}}" | |
no_log: True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment