Skip to content

Commit 7b480ee

Browse files
author
Kroner
committed
fix10 pipeline - testing
1 parent 9fc758b commit 7b480ee

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,4 @@ jobs:
9494
pwd
9595
cd ansible/
9696
ls -la ~/.ssh/
97-
# Проверяем, что файл существует и не пустой
98-
if [ ! -f ~/.ssh/webserver ]; then
99-
echo "Файл ключа не найден!"
100-
exit 1
101-
fi
102-
ansible all -i inventory/hosts -m ping
97+
ansible webserver -i inventory/hosts -m ping --config=./ansible.cfg

0 commit comments

Comments
 (0)