LoginSignup
7
8

More than 5 years have passed since last update.

bashをansibleでアップデート

Posted at
shell
$ ansible -m yum -a "name=bash state=latest" all --sudo

その他設定ファイル

~/ansible_hosts
www ansible_ssh_host=XXX.XXX.XXX.XXX
app ansible_ssh_host=XXX.XXX.XXX.XXX
db  ansible_ssh_host=XXX.XXX.XXX.XXX
~/ansible.cfg
[defaults]
hostfile = ~/ansible_hosts
7
8
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
7
8