- install ansible on your machine
sudo yum install ansible -y
- check ansible installation by passing
ansible --version
this should return your ansible version if it's installed - clone the project in your machine
git clone git@github.com:aminearbi/postgres-ansible-role.git
- Edit the file called
hosts
and replaceyourserver
ip with the server you're willing to work on. - On your remote server create a sudo user with and add your ssh key to its list of authorized_keys
- open terminal in the cloned folder and run this command
ansible-playbook playbook.yml -i hosts -u "your server user"
-
Notifications
You must be signed in to change notification settings - Fork 0
aminearbi/postgres-ansible-role
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Postgres Basic Installation Role for ansible
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published