You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ct...@apache.org on 2021/01/26 20:46:57 UTC

[fluo-muchos] branch main updated: Fix #384 Pin Ansible version in pip (#385)

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-muchos.git


The following commit(s) were added to refs/heads/main by this push:
     new 5b310b1  Fix #384 Pin Ansible version in pip (#385)
5b310b1 is described below

commit 5b310b1bf9ff9dcdbead7b6a9134dc9c0781c7c3
Author: Chris Green <ch...@gmail.com>
AuthorDate: Tue Jan 26 15:46:50 2021 -0500

    Fix #384 Pin Ansible version in pip (#385)
---
 README.md                          | 2 +-
 ansible/roles/azure/tasks/main.yml | 2 +-
 docs/azure-ubuntu-1804.md          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 8632dfa..04c300c 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ sudo yum install azure-cli-2.0.69-1.el7.x86_64.rpm
 * An Azure account with permissions to either use an existing or create new Resource Groups, Virtual Networks and Subnets
 * A machine which can connect to securely deploy the cluster in Azure.
 * Install [Ansible for Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ansible-install-configure) within
-  the Python virtual environment by using `pip install ansible[azure]`
+  the Python virtual environment by using `pip install ansible[azure]==2.9.13`
 
 When running Muchos under Ubuntu 18.04, checkout these [tips](docs/azure-ubuntu-1804.md).
 
diff --git a/ansible/roles/azure/tasks/main.yml b/ansible/roles/azure/tasks/main.yml
index bea2bb8..f8465a8 100644
--- a/ansible/roles/azure/tasks/main.yml
+++ b/ansible/roles/azure/tasks/main.yml
@@ -22,7 +22,7 @@
     quiet: yes
     that: ansible_version.full is version('2.9.0', '>=')
     fail_msg: "Ansible 2.9 or above is required for using Azure ADLS Gen2 in Muchos.
-    Update it using pip install --upgrade ansible[azure]"
+    Update it using pip install --upgrade ansible[azure]==2.9.13"
   when: use_adlsg2
 
 - import_tasks: create_vmss.yml
diff --git a/docs/azure-ubuntu-1804.md b/docs/azure-ubuntu-1804.md
index 5921511..1cdac95 100644
--- a/docs/azure-ubuntu-1804.md
+++ b/docs/azure-ubuntu-1804.md
@@ -14,7 +14,7 @@ the following steps can get you on your way.
 # python-pip and pip were installed and used, those would go against Python 2
 # and would not work.
 sudo apt install python3-pip
-sudo pip3 install ansible[azure]
+sudo pip3 install ansible[azure]==2.9.13
 ```
 
 A virtual python environment is not needed in Ubuntu.  The instructions that