Cov txheej txheem:

Peb puas tuaj yeem nruab Ansible ntawm Windows tshuab?
Peb puas tuaj yeem nruab Ansible ntawm Windows tshuab?

Video: Peb puas tuaj yeem nruab Ansible ntawm Windows tshuab?

Video: Peb puas tuaj yeem nruab Ansible ntawm Windows tshuab?
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim

Can Ansible khiav ntawm Qhov rai ? Tsis yog, Ansible tau tsuas tswj Qhov rai tus tswv. Ansible ua tsis tau khiav ntawm a Windows host natively, txawm nws tau khiav hauv qab Qhov rai Subsystem rau Linux (WSL).

Xav txog qhov no, Ansible puas tuaj yeem nruab rau ntawm Windows?

Tsis yog, Ansible ua tsis tau khiav ntawm a Qhov rai host thiab ua tau tsuas tswj Qhov rai hosts, tab sis Ansible tau ua khiav hauv qab Qhov rai Subsystem rau Linux (WSL). Cov Qhov rai Subsystem rau Linux tsis txhawb nqa los ntawm Microsoft lossis Ansible thiab yuav tsum tsis txhob siv rau cov tshuab tsim khoom.

Tsis tas li, kuv yuav ntxiv tus tswv tsev rau Windows Ansible li cas? Ntu 1: Txhim kho Ansible ntawm Cov Tswj node (CentOS 8)

  1. Kauj Ruam 1: Xyuas kom tseeb tias Python3 tau teeb tsa ntawm Ansible tswj ntawm.
  2. Kauj ruam 2: Nruab ib puag ncig virtual rau khiav Ansible.
  3. Kauj ruam 3: Nruab Ansible.
  4. Kauj ruam 4: Nruab Pywinrm.
  5. Kauj ruam 1: Rub tawm WinRM tsab ntawv ntawm Windows 10 tus tswv.

Kuj nug, Kuv yuav ua li cas rau nruab Ansible ntawm Windows 10?

Nruab Ansible ntawm Windows 10

  1. Qhib qhov rais's Tig Windows nta ntawm lossis tawm ntu.
  2. Xaiv lub Windows Subsystem rau Linux los qhib nws.
  3. Mus rau Microsoft app khw.
  4. Nrhiav rau Linux.
  5. Ntau Linux system yuav tshwm sim zoo li Debian, Ubuntu, OpenSuse.
  6. Xaiv lub Ubuntu lossis lwm yam Linux koj xav nruab Ansible.

Kuv yuav nruab Ansible li cas?

Nruab Ansible

  1. Kauj Ruam 1: Hloov kho koj lub Control Node.
  2. Kauj ruam 2: Nruab EPEL Repository.
  3. Kauj ruam 3: Nruab Ansible.
  4. Kauj ruam 4a: Tsim Tus Neeg Siv rau Ansible.
  5. Kauj Ruam 4b: Txhim kho Tus Tswj Node Tus Neeg Siv rau Passwordless Super User Access.
  6. Kauj ruam 5: Txhim kho peb tus neeg siv Admin rau SSH Access.
  7. Kauj Ruam 6: Tsim Cov Khoom Muag Tsis Txaus.

Pom zoo: