Skip to content

Commit 8bb89ff

Browse files
author
Kroner
committed
rm #comments from ansible.cfg and hosts
1 parent 435ba14 commit 8bb89ff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ansible/ansible.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[defaults]
2-
inventory = ./inventory/hosts # (опционально) автоматически подхватывает инвентарь
3-
private_key_file = ~/.ssh/webserver # SSH-ключ
4-
remote_user = deployer # пользователь для подключения
2+
inventory = ./inventory/hosts
3+
private_key_file = ~/.ssh/webserver
4+
remote_user = deployer
55

66
[inventory]
77
enable_plugins = ini, yaml, script

ansible/inventory/hosts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[localhost]
2-
127.0.0.1 ansible_connection=local # для локального запуска
2+
127.0.0.1 ansible_connection=local
33

44
[webserver]
55
goserv.duckdns.org

0 commit comments

Comments
 (0)