LoginSignup
5
5

More than 5 years have passed since last update.

ansible.cfgで起動するシェルを指定する

Posted at

やりたいこと

これを見て、毎回 /bin/bash -lcを書かずに処理できる方法はないだろうかと思った

やったこと

ansible.cfgexecutableで指定した

ansible.cfg
[defaults]
executable = /bin/bash -l # ログインシェルとしてbashを起動

参考

Configuration file — Ansible Documentation

5
5
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
5
5