Skip to content

Commit

Permalink
corrected the syntax for which an error occurred in the execution sta…
Browse files Browse the repository at this point in the history
…ck.sh (#2609)
  • Loading branch information
xunconnectedx authored and ttmc committed Nov 29, 2018
1 parent f8191b0 commit f0df5bd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
9 changes: 5 additions & 4 deletions pkg/configuration/roles/py36/tasks/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 7 additions & 5 deletions pkg/configuration/roles/py36/tasks/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 4 additions & 3 deletions pkg/configuration/roles/tendermint/tasks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0df5bd

Please sign in to comment.