We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc758b commit 7b480eeCopy full SHA for 7b480ee
.github/workflows/main.yaml
@@ -94,9 +94,4 @@ jobs:
94
pwd
95
cd ansible/
96
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
+ ansible webserver -i inventory/hosts -m ping --config=./ansible.cfg
0 commit comments