From 2bbfc9e87aef5813aecc25b5af9cda8e71980cd1 Mon Sep 17 00:00:00 2001 From: xunconnectedx Date: Wed, 28 Nov 2018 16:21:33 +0600 Subject: [PATCH] corrected the syntax for which an error occurred in the execution stack.sh --- pkg/configuration/roles/py36/tasks/debian.yml | 9 +++++---- pkg/configuration/roles/py36/tasks/fedora.yml | 12 +++++++----- pkg/configuration/roles/tendermint/tasks/common.yml | 7 ++++--- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/pkg/configuration/roles/py36/tasks/debian.yml b/pkg/configuration/roles/py36/tasks/debian.yml index 27c97c53..a15ee737 100644 --- a/pkg/configuration/roles/py36/tasks/debian.yml +++ b/pkg/configuration/roles/py36/tasks/debian.yml @@ -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" diff --git a/pkg/configuration/roles/py36/tasks/fedora.yml b/pkg/configuration/roles/py36/tasks/fedora.yml index 44b8d100..286236fc 100644 --- a/pkg/configuration/roles/py36/tasks/fedora.yml +++ b/pkg/configuration/roles/py36/tasks/fedora.yml @@ -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" diff --git a/pkg/configuration/roles/tendermint/tasks/common.yml b/pkg/configuration/roles/tendermint/tasks/common.yml index fa6d526d..6ba9bd5f 100644 --- a/pkg/configuration/roles/tendermint/tasks/common.yml +++ b/pkg/configuration/roles/tendermint/tasks/common.yml @@ -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