Hi Members,
I know that this Question is not related to Asterisk but I am stuck with this pre-requisite step for more than a Month.
Lets come to the issue…
Actually I am reading a Book called: Asterisk: The Definitive Guide (Open Source Telephony for the Enterprise) - 5th Edition
In that book, The Author has given a Group command and a Playbook.
I have given the Actual group command below (as it is in the Book):
sudo yum -y update &&
sudo yum -y install epel-release &&
sudo yum -y install python-pip &&
sudo yum -y install vim wget dnf&&
sudo pip install alembic ansible &&
sudo pip install --upgrade pip &&
sudo mkdir /etc/ansible &&
sudo chown astmin:astmin /etc/ansible &&
sudo echo “[starfish]” >> /etc/ansible/hosts &&
sudo echo “localhost ansible_connection=local” >> /etc/ansible/hosts &&
mkdir -p ~/ansible/playbooks
But before it was not running until I made the following changes:
sudo yum -y update &&
sudo yum -y install epel-release &&
sudo yum -y install python3-pip &&
sudo yum -y install vim wget dnf&&
sudo pip3 install alembic ansible &&
sudo pip3 install --upgrade pip &&
sudo mkdir /etc/ansible &&
sudo chown astmin:astmin /etc/ansible &&
sudo echo “[starfish]” >> /etc/ansible/hosts &&
sudo echo “localhost ansible_connection=local” >> /etc/ansible/hosts &&
mkdir -p ~/ansible/playbooks
Like that, the author is also using a Playbook to automate some steps:
Like the Group command I mentioned above this Playbook also needs to be fixed/tuned:
starfish.txt (4.9 KB)
Hope you Help… Thank you for reading and an advanced thanks for your replies.
With Hope,
Prabhakaran