LoginSignup
0
0

More than 3 years have passed since last update.

ansibleの設定方法

Posted at

インストール

pip3 install ansible

hostファイルを作る(実行するディレクトリの直下に置く)

[learning-server]
ipアドレス

hostファイルを作る(実行するディレクトリの直下に置く)

[learning-server]
ipアドレス

ansibleの実行

ansible-playbook -i host ansible/roles/common/tasks/learning.yml -u ubuntu --private-key="鍵"
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0