Skip to content

Commit

Permalink
Merge pull request #31 from l3ender/azure-dependencies
Browse files Browse the repository at this point in the history
Use dependences from installed Azure collection
  • Loading branch information
chadgeary committed Dec 28, 2021
2 parents bebd197 + 300ce6b commit e1aa94a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions azure/az-custom_data.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,11 @@ apt-get update
# Install pip3 git and python packages
DEBIAN_FRONTEND=noninteractive apt-get -y install python3-pip git
pip3 install --upgrade pip
pip3 install ansible[azure]
pip3 install --upgrade ansible[azure]
# And the collection
ansible-galaxy collection install azure.azcollection
ansible-galaxy collection install azure.azcollection --force
# And the requirements
rm -f requirements-azure.txt
wget https://raw.githubusercontent.com/ansible-collections/azure/dev/requirements-azure.txt
# Install the requirements
pip3 install -r requirements-azure.txt
pip3 install --upgrade -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt
# Make the project directory
mkdir -p /opt/cloudblock
# Clone project
Expand Down

0 comments on commit e1aa94a

Please sign in to comment.