-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding in ansible install to reference
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
AppZone/Hub_Spoke/Single_Region/Oracle_Single/ansible/oracle-setup-ansible.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# Update all packages that have available updates. | ||
sudo yum update -y | ||
|
||
# Install Python 3 and pip. | ||
sudo yum install -y python3-pip | ||
|
||
# Upgrade pip3. | ||
sudo pip3 install --upgrade pip | ||
|
||
# Install Ansible. | ||
pip3 install ansible[azure] | ||
|
||
# Install Ansible modules and plugins for interacting with Azure. | ||
ansible-galaxy collection install azure.azcollection | ||
|
||
# Install required modules for Ansible on Azure | ||
wget https://raw.githubusercontent.com/ansible-collections/azure/dev/requirements-azure.txt | ||
|
||
# Install Ansible modules | ||
sudo pip3 install -r requirements-azure.txt |