Ansible cov khoom muag yog dab tsi?
Ansible cov khoom muag yog dab tsi?

Video: Ansible cov khoom muag yog dab tsi?

Video: Ansible cov khoom muag yog dab tsi?
Video: LOVE MARRIAGE KE SIDE EFFECTS || Rachit Rojha 2024, Kaum ib hlis
Anonim

Cov Cov khoom muaj nqis cov ntaub ntawv txhais cov tswv thiab pab pawg ntawm cov tswv raws li cov lus txib, modules, thiab cov haujlwm hauv phau ntawv ua si. Cov ntaub ntawv tuaj yeem ua ib qho ntawm ntau hom nyob ntawm koj Ansible ib puag ncig thiab plugins. Yog tias tsim nyog, koj tuaj yeem tsim qhov project tshwj xeeb cov khoom muag cov ntaub ntawv nyob rau hauv lwm qhov chaw.

Ib yam li ntawd, tib neeg nug, hom khoom muag hauv Ansible yog dab tsi?

Hauv Ansible , muaj ob hom khoom muag cov ntaub ntawv: Static thiab Dynamic. Cia peb saib txhua tus ntawm no thiab saib seb peb yuav tswj tau li cas. Txog tam sim no, peb xav tias koj twb tau teeb tsa Ansible ntawm koj qhov Control node, thiab teeb tsa Passwordless SSH kev twb kev txuas rau koj tus tswv tswj hwm.

Ib sab saum toj no, Ansible lub luag haujlwm yog dab tsi? Lub luag haujlwm muab lub moj khaum rau kev ywj pheej, lossis kev sib koom ua ke ntawm kev sib txawv, cov haujlwm, cov ntaub ntawv, cov qauv, thiab cov qauv. Hauv Ansible , cov luag hauj lwm yog lub hauv paus txheej txheem rau rhuav ib phau ntawv ua si rau ntau cov ntaub ntawv. Qhov no ua kom yooj yim sau cov ntawv ua si nyuaj, thiab nws ua rau lawv yooj yim dua rov siv dua.

Tsuas yog li ntawd, nyob qhov twg cov ntaub ntawv khaws cia nyob ntawm lub neej ntawd Ansible?

Cov qhov chaw nyob rau cov khoom muag yog a ntaub ntawv hu ua /etc/ ansible / tus tswv . Koj tuaj yeem qhia qhov txawv cov ntaub ntawv khaws tseg ntawm kab hais kom ua siv qhov kev xaiv -i.

Cov chaw nres nkoj twg Ansible siv?

Ansible tsis standard ssh chaw nres nkoj. Yuav ua li cas khiav playbooks tawm tsam a tus tswv tsev khiav ssh ntawm qhov chaw nres nkoj uas tsis yog chaw nres nkoj 22. Ansible yog ib qho yooj yim automation lossis configuration tswj cov cuab yeej, uas tso cai rau ua kom tiav cov lus txib / ntawv ntawm cov chaw taws teeb tswj hauv adhoc lossis siv cov ntawv ua si.

Pom zoo: