flagflag  
1: 2020-08-21 (Fri) 20:41:46 iseki source Cur: 2020-08-24 (Mon) 12:49:32 iseki source
Line 1: Line 1:
** Ansible [#qe63e892] ** Ansible [#qe63e892]
- RedHat が開発する構成管理ツール - RedHat が開発する構成管理ツール
 +- 要するに,[[ssh]] を使用して複数のリモートマシンで一斉にバッチを走らせることができる
#br #br
 +
 +*** 設定 [#a37127fb]
 +**** /etc/ansible/ansible.cfg [#g1181efc]
 +#br
 +**** /etc/ansible/hosts [#f17e23ae]
 +- inventory ファイル
 +#br
 +
 +
 +*** Trouble Shooting [#lb4d3df6]
 +
 +**** sftp transfer mechanism failed on [192.168.27.20] (sftp が失敗する) [#ce8de175]
 +- 先方の /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 など)
 +#br
 +
 +**** [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. [#j470808d]
 +- See https://docs.ansible.com/ansible/2.9/ref​erence_appendices/interpreter_discovery.​html for more information.
 +- /etc/ansible/ansible.cfg
 + [defaults]
 + interpreter_python=/usr/bin/python3​


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

34 user(s) are online (1 user(s) are browsing xpwiki)

Members: 0
Guests: 34

more...

Access Counter

Today : 230230230
Yesterday : 4345434543454345
Total : 2365737123657371236573712365737123657371236573712365737123657371
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com