The FASTEST Way to Manage Windows Server 2025 Using SSH and Ansible

  Рет қаралды 228

AutomateSQL

AutomateSQL

Күн бұрын

Пікірлер: 5
@carlosmel7742
@carlosmel7742 9 күн бұрын
Really good videos and well explained. congratulation. I've followed tutorial carefully, repeated it many times and always had same issues: ansible all -i hosts.ini -m ansible.windows.win_ping -u Administrator --ask-pass SSH password: server2025 | FAILED! => { "changed": false, "module_stderr": "Parameter format not correct - ; ", "module_stdout": "", "msg": "MODULE FAILURE See stdout/stderr for the exact error", "rc": 1 } host.ini file: [windows] server2025 ansible_host=192.168.1.1 [windows:vars] #ansible_user=administrator #ansible_password=your_password ansible_connection=ssh ansible_shell_type=powershell ansible_ssh_common_args='-o StrictHostKeyChecking=no'
@automatesql
@automatesql 9 күн бұрын
Thanks! What version of Ansible are you using? Also just to double check are you able to ssh into the server from the terminal?
@carlosmel7742
@carlosmel7742 8 күн бұрын
@automatesql thanks for the quick response. I can SSH from the terminal using the keys without any issues. Version installed is 2.17.7
@automatesql
@automatesql 8 күн бұрын
In your command you reference the inventory file as hosts.ini but in the snippet of the inventory file it's labeled as host.ini. Pretty sure that's just a copy / paste issue though. Is the default shell set to powershell on server2025? Here is the full blog post that may help. Doublecheck the prerequisites. www.automatesql.com/blog/how-to-configure-ssh-on-windows-server-2025-for-use-with-ansible
@carlosmel7742
@carlosmel7742 8 күн бұрын
@@automatesql it's a typo here but I'm using the same filename for the file and command
Use Ansible to Deploy SQL Server Database Objects FAST!
12:41
Things I wish I knew about Ansible from day 1
10:58
Michael Crilly
Рет қаралды 7 М.
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
SSH To Windows Using Public Key
13:40
William Campbell
Рет қаралды 80 М.
OpenSSH is about to change. (For the better.)
10:00
Veronica Explains
Рет қаралды 143 М.
Securing Ansible with SSH Keys: A Comprehensive Guide - Part 4
6:08
WP Rig  101: A Crash Course
49:00
WP Rig
Рет қаралды 32
Windows Server 2025 Installation and Configuration
14:48
ittaster
Рет қаралды 12 М.
SQL Server Patching Made Easy with Ansible
13:47
AutomateSQL
Рет қаралды 889
Step-by-Step Ansible Tutorial for Windows Server 2022: Optimizing WinRM
9:14
LondonIAC / Dennis McCarthy / Automation Engineer
Рет қаралды 28 М.
SSH Key Authentication on Linux Server: Easy Setup Tutorial
8:43
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН