bitcoind/tasks/main.yaml
changeset 6 e0672e50e2c5
parent 4 9934a00b9e97
child 9 ddf84e986362
equal deleted inserted replaced
5:5873b7e583d7 6:e0672e50e2c5
    19     dest: "/usr/local/bin/"
    19     dest: "/usr/local/bin/"
    20     remote_src: yes
    20     remote_src: yes
    21     owner: "root"
    21     owner: "root"
    22     group: "root"
    22     group: "root"
    23     mode: "0755"
    23     mode: "0755"
    24   with_items:
    24   loop:
    25     - "bitcoind"
    25     - "bitcoind"
    26     - "bitcoin-cli"
    26     - "bitcoin-cli"
    27 
    27 
    28 - name: create bitcoind data dir
    28 - name: create bitcoind data dir
    29   become: yes
    29   become: yes
    31     path: "{{item}}"
    31     path: "{{item}}"
    32     state: "directory"
    32     state: "directory"
    33     owner: "{{bitcoind_user}}"
    33     owner: "{{bitcoind_user}}"
    34     group: "{{bitcoind_user}}"
    34     group: "{{bitcoind_user}}"
    35     mode: "0770"
    35     mode: "0770"
    36   with_items:
    36   loop:
    37     - "{{bitcoind_data_dir}}"
    37     - "{{bitcoind_data_dir}}"
    38     - "{{bitcoind_log_dir}}"
    38     - "{{bitcoind_log_dir}}"
    39     - "{{bitcoind_conf_dir}}"
    39     - "{{bitcoind_conf_dir}}"
    40 
    40 
    41 - name: configure bitcoind
    41 - name: configure bitcoind