https://github.com/ratulbasak/ansible_automation
#DevOps Automation using Ansible
https://github.com/ratulbasak/ansible_automation
ansible aws devops docker kubernetes kubernetes-cluster linux mongodb mongodb-replication system-administration ubuntu user-management
Last synced: 2 months ago
JSON representation
#DevOps Automation using Ansible
- Host: GitHub
- URL: https://github.com/ratulbasak/ansible_automation
- Owner: ratulbasak
- Created: 2018-06-18T07:27:21.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-18T08:56:20.000Z (almost 8 years ago)
- Last Synced: 2025-06-29T03:43:20.096Z (12 months ago)
- Topics: ansible, aws, devops, docker, kubernetes, kubernetes-cluster, linux, mongodb, mongodb-replication, system-administration, ubuntu, user-management
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#####################################################################################
#####################################################################################
### Automation- Docker ENV setup and install Jenkins
* Step 1:
```
Edit the hosts file by adding you node ips and keyfile
```
* Step 2:
```
ansible-playbook -i hosts playbook.yml
```
1. This will Set the hostname, install docker in all Nodes
2. Install Jenkins, provision Docker private registry and pull a docker image
#####################################################################################
#####################################################################################
### Automation- Kubernetes Cluster Automation
* Step 1:
```
Edit the hosts file by adding you node ips and keyfile
```
* Step 2:
```
ansible-playbook -i hosts playbook.yml
```
This will provision the master and worker nodes.
* Step 3:
```
ansible-playbook -i hosts workers.yml
```
This will join the worker nodes to the master.
#####################################################################################
#####################################################################################
### Automation- Configure MongoDB Replication
* Step 1:
```
Edit the hosts file by adding you node ips and keyfile
```
* Step 2:
```
ansible-playbook -i hosts playbook.yml
```
1. This will provision MongoDB in all Nodes
2. Sets up the master and worker nodes
#####################################################################################
#####################################################################################
## Automation- Configure NFS(Network File System)
* Step 1:
```
Edit the hosts file by adding you node ips and keyfile
```
* Step 2:
```
ansible-playbook -i hosts playbook.yml
```
1. This will Set the hostname and add to **/etc/hosts** file in all Nodes
2. Install NFS-server in server and exports the configured nfs directory
3. Install nfs-common in all clients and Mounts the target shared directory in a specific location