corrected the syntax for which an error occurred in the execution stack.sh

This commit is contained in:
xunconnectedx 2018-11-28 16:21:33 +06:00
parent f8191b0d8e
commit 2bbfc9e87a
3 changed files with 16 additions and 12 deletions

View File

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

View File

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

View File

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