node/conf/tasks/main.yaml
changeset 4 9934a00b9e97
parent 2 0556e208fbee
equal deleted inserted replaced
3:74f60cd1440b 4:9934a00b9e97
    11   with_items:
    11   with_items:
    12     - "{{node_data_dir}}"
    12     - "{{node_data_dir}}"
    13     - "{{node_log_dir}}"
    13     - "{{node_log_dir}}"
    14     - "{{node_conf_dir}}"
    14     - "{{node_conf_dir}}"
    15 
    15 
    16 - name: install conf
    16 - name: configure node
    17   become: yes
    17   become: yes
    18   template:
    18   template:
    19     src: "{{node_conf_template}}"
    19     src: "{{node_conf_template}}"
    20     dest: "{{node_conf_dir}}/{{node_type}}.conf"
    20     dest: "{{node_conf_dir}}/{{node_type}}.conf"
    21     owner: "{{node_user}}"
    21     owner: "{{node_user}}"