corrected the syntax for which an error occurred in the execution stack.sh (#2609)

This commit is contained in:
xunconnectedx 2018-11-29 16:59:45 +06:00 committed by Troy McConaghy
parent f8191b0d8e
commit f0df5bd2e0
3 changed files with 16 additions and 12 deletions

View File

@ -16,10 +16,11 @@
tags: [py36]
- name: Creating files for python 3.6 installation
template: src=install_py36.j2 dest=/home/vagrant/install_py36.bash
mode: 0755
when: chk_py36.rc == 0 and (py36_ver.stdout | float < 3.6)
tags: [py36]
file:
template: src=install_py36.j2 dest=/home/vagrant/install_py36.bash
mode: 0755
when: chk_py36.rc == 0 and (py36_ver.stdout | float < 3.6)
tags: [py36]
- name: Install py36
shell: "bash /home/vagrant/install_py36.bash > install_py36.txt"

View File

@ -24,14 +24,16 @@
shell: dnf -y update
register: update_fed
failed_when: "'FAILED' in update_fed.stderr or update_fed.rc != 0"
warn: no
args:
warn: no
tags: [py36]
- name: Creating files for python 3.6 installation
template: src=install_pip36.j2 dest=/home/vagrant/install_pip36.bash
mode: 0755
when: py36_ver.stdout | float < 3.6
tags: [py36]
file:
template: src=install_pip36.j2 dest=/home/vagrant/install_pip36.bash
mode: 0755
when: py36_ver.stdout | float < 3.6
tags: [py36]
- name: Install pip36
shell: "bash /home/vagrant/install_pip36.bash > install_pip36.txt"

View File

@ -34,9 +34,10 @@
tags: [tendermint]
- name: Creating files for key exchange
template: src=start_tendermint.j2 dest=/home/vagrant/test.sh
mode: 0755
tags: [tendermint]
file:
template: src=start_tendermint.j2 dest=/home/vagrant/test.sh
mode: 0755
tags: [tendermint]
- name: Start nginx to host public_key
systemd: name=nginx state=restarted