fix permission issue
This commit is contained in:
parent
7f56fb8605
commit
ad1939ac63
|
@ -7,14 +7,6 @@
|
|||
owner: "{{ username }}"
|
||||
group: "{{ username }}"
|
||||
|
||||
- name: Create directory parity_data/dapps
|
||||
file:
|
||||
path: "{{ home }}/parity_data/dapps"
|
||||
state: directory
|
||||
mode: 0755
|
||||
owner: "{{ username }}"
|
||||
group: "{{ username }}"
|
||||
|
||||
- name: Create logs directories
|
||||
file:
|
||||
path: "/{{ home }}/logs/old"
|
||||
|
@ -51,4 +43,4 @@
|
|||
[misc]
|
||||
log_file = "{{ home }}/logs/parity.log"
|
||||
|
||||
- file: path={{ home }} owner={{ username }} group={{ username }} recurse=yes
|
||||
#- file: path={{ home }} owner={{ username }} group={{ username }} recurse=yes
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
notify:
|
||||
- restart oracles-chain-explorer
|
||||
|
||||
- file: path={{ home }} owner={{ username }} group={{ username }} recurse=yes
|
||||
- file: path={{ home }}/chain-explorer owner={{ username }} group={{ username }} recurse=yes
|
||||
|
||||
- name: install npm chain_explorer
|
||||
shell: "cd /home/{{ username }}/chain-explorer; /usr/bin/npm install"
|
||||
|
|
|
@ -59,10 +59,10 @@
|
|||
|
||||
- git: repo=https://github.com/{{ MAIN_REPO_FETCH }}/oracles-scripts-validator dest={{ home }}/oracles-scripts-validator version={{ SCRIPTS_VALIDATOR_BRANCH }}
|
||||
|
||||
- file: path={{ home }} owner={{ username }} group={{ username }} recurse=yes
|
||||
|
||||
- file: src="{{ home }}/node.toml" dest="{{ home }}/oracles-scripts-validator/node.toml" owner="{{ username }}" group="{{ username }}" state=link
|
||||
|
||||
- file: path={{ home }}/oracles-scripts-validator owner={{ username }} group={{ username }} recurse=yes
|
||||
|
||||
- name: install npm transferRewardToPayoutKey
|
||||
shell: "cd {{ home }}/oracles-scripts-validator/transferRewardToPayoutKey; /usr/bin/npm install"
|
||||
become: true
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
- git: repo=https://github.com/{{ MAIN_REPO_FETCH }}/eth-netstats dest={{ home }}/eth-netstats
|
||||
|
||||
- file: path={{ home }} owner={{ username }} group={{ username }} recurse=yes
|
||||
- file: path={{ home }}/eth-netstats owner={{ username }} group={{ username }} recurse=yes
|
||||
|
||||
- name: install npm netstats
|
||||
shell: "cd /home/{{ username }}/eth-netstats; /usr/bin/npm install"
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
- git: repo=https://github.com/{{ MAIN_REPO_FETCH }}/oracles-scripts-owner dest={{ home }}/oracles-scripts-owner version={{ SCRIPTS_OWNER_BRANCH }}
|
||||
|
||||
- file: path={{ home }} owner={{ username }} group={{ username }} recurse=yes
|
||||
- file: path={{ home }}/oracles-scripts-owner owner={{ username }} group={{ username }} recurse=yes
|
||||
|
||||
- name: install npm initial_keys_script
|
||||
shell: "cd {{ home }}/oracles-scripts-owner; /usr/bin/npm install"
|
||||
|
|
Loading…
Reference in New Issue