ページ内コンテンツ
Ansible
- RedHat が開発する構成管理ツール
- 要するに,ssh を使用して複数のリモートマシンで一斉にバッチを走らせることができる
sftp transfer mechanism failed on [192.168.27.20] (sftp が失敗する)
- 先方の /etc/ssh/sshd_config
Subsystem sftp /usr/libexec/openssh/sftp-server
- /etc/ansible/ansible.cfg
[ssh_connection] scp_if_ssh=True を設定
- 実際に sftp でログインしてみる
- .bashrc の記述ミスでログインが失敗する場合もある(message too long: 余計な echo など)
- .bashrc の記述ミスでログインが失敗する場合もある(message too long: 余計な echo など)
[WARNING]: Platform linux on host 192.168.27.32 is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change this.
- See https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information.
- /etc/ansible/ansible.cfg
[defaults] interpreter_python=/usr/bin/python3
Counter: 379,
today: 2,
yesterday: 0
最終更新: 2020-08-24 (月) 12:49:32 (JST) (1341d) by iseki