fix parity directory name and change to instal fixed version of libstdc++6

This commit is contained in:
Vitaly Znachenok 2017-11-21 01:54:05 +03:00
parent 113a559670
commit fb10c54e65
2 changed files with 16 additions and 7 deletions

View File

@ -1,15 +1,15 @@
---
- name: Create directory parity/keys/OraclesPoA
- name: Create directory parity_data/keys/OraclesPoA
file:
path: "{{ home }}/parity/keys/OraclesPoA"
path: "{{ home }}/parity_data/keys/OraclesPoA"
state: directory
mode: 0700
owner: "{{ username }}"
group: "{{ username }}"
- name: Create directory parity/dapps
- name: Create directory parity_data/dapps
file:
path: "{{ home }}/parity/dapps"
path: "{{ home }}/parity_data/dapps"
state: directory
mode: 0755
owner: "{{ username }}"
@ -45,9 +45,9 @@
state: present
- git: repo=https://github.com/oraclesorg/oracles-dapps-keys-generation.git dest={{ home }}/parity/dapps/KeysGenerator
- git: repo=https://github.com/oraclesorg/oracles-dapps-voting.git dest={{ home }}/parity/dapps/Voting
- git: repo=https://github.com/oraclesorg/oracles-dapps-validators.git dest={{ home }}/parity/dapps/ValidatorsList
- git: repo=https://github.com/oraclesorg/oracles-dapps-keys-generation.git dest={{ home }}/parity_data/dapps/KeysGenerator
- git: repo=https://github.com/oraclesorg/oracles-dapps-voting.git dest={{ home }}/parity_data/dapps/Voting
- git: repo=https://github.com/oraclesorg/oracles-dapps-validators.git dest={{ home }}/parity_data/dapps/ValidatorsList
- name: Download parity-nouncles
get_url: url="{{ parity_nouncles }}" dest={{ home }}/parity-nouncles mode=0755

View File

@ -23,4 +23,13 @@
- git
- cloud-utils
- build-essential
- name: Install updated PPA for toolchain
apt_repository: repo='{{ item }}'
with_items:
- ppa:ubuntu-toolchain-r/test
- name: Install fixed package
apt: name={{ item }} state=latest update_cache=yes
with_items:
- libstdc++6