Update README.md

This commit is contained in:
4bobus
2025-06-22 13:29:17 +05:00
committed by GitHub
parent c15faef1fb
commit 2073fbddfc

View File

@@ -964,15 +964,17 @@ Ansible обычно уже использует /etc/ansible как рабоч
Создайте инвентарь файла : /etc/ansible/hosts. Открываем файл /etc/ansible/hosts
Скачиваем файл с github:
- Скачиваем файл с github:
apt install dos2unix -y
***apt install dos2unix -y***
cd /etc/ansible
***cd /etc/ansible***
curl -O https://raw.githubusercontent.com/4bobus/laba/refs/heads/main/files/hosts.file
***curl -O https://raw.githubusercontent.com/4bobus/laba/refs/heads/main/files/hosts.file***
dos2unix /etc/ansible/hosts.file
***dos2unix /etc/ansible/hosts.file***
- Проверяем его наличие:
<p align="center">
<img src="images/module2/43.png" width="600" />