Ansible Notes –

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

GIT - https://www.youtube.com/@DevSecOpsSchool/videos

2. Same as in first step but with tower
3. How to write scripts for different OS 
		UBUNTU 
		Centos/Rhel
		Windows

Sample Application: Integrate and automate SQL server installations with windows server builds.
===========================================================================
ROLE - MS SQL installation in Windows
===================================
Step 1 - Find a role for MSSQL Installation in Windows
https://galaxy.ansible.com/couchgott/role_mssql
https://github.com/kkolk/mssql
https://galaxy.ansible.com/kkolk/mssql
https://galaxy.ansible.com/microsoft/sql - Linux
https://github.com/robertdebock/ansible-role-mssql - Linxux

Step 2 - Install MS SQL manual in windows

Step 3 - Findout a modules for the same steps
 - https://docs.ansible.com/ansible/2.9/modules/list_of_windows_modules.html

Step 3 - Write Adhoc commands and test it local windows

ACS - linux | ARS - Windows
----------------------------
ARS Windows - https://www.devopsschool.com/tutorial/ansible/ansible-windows-remote-setup.html
ACS Linux - https://www.devopsschool.com/tutorial/ansible/ansible-windows-control-setup.html

Step 4 - Inventory example of windows

[windows]
13.233.160.153

[windows:vars]
ansible_user=LocalUsername
ansible_password=Password
ansible_connection=winrm
ansible_winrm_transport=basic
ansible_winrm_server_cert_validation=ignore

Step 5 - Write a Playbook and test in other machine
ACS ---> ARS (WIndows)

ansible-playbook -i inv mssql.yaml 

Step 6 - once tested, add this code in gitlab using git
exam - https://github.com/orgs/devopsschool-demo-labs-projects/repositories?q=role&type=all&language=&sort=

Step 7 - Go to tower - create a project with this repo

Code language: JavaScript (javascript)
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x