This commit is contained in:
2026-06-19 00:22:10 +03:00
parent b1d33e8ff8
commit dbf1c70131
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -2,5 +2,6 @@
#Отключаем проверку fingerprnt при первом подключении к серверу #Отключаем проверку fingerprnt при первом подключении к серверу
host_key_checking=false host_key_checking=false
#Задаём файл с хостами по умолчанию. Больше не нужно писать "ansible -i hosts.txt all -m ping", достаточно "ansible all -m ping" #Задаём файл с хостами по умолчанию. Больше не нужно писать "ansible -i hosts.txt all -m ping", достаточно "ansible all -m ping"
inventory=/ansible/hosts.txt inventory=/ansible/hosts.ini
#Игнорирует предпреждения про версию интерпритатора
interpreter_python=auto_silent interpreter_python=auto_silent
+2 -1
View File
@@ -1,5 +1,6 @@
---
- name: ping - name: ping
hosts: all hosts: RHEL_Servers
become: yes become: yes
tasks: tasks: