LoginSignup
3
3

More than 5 years have passed since last update.

ansible備忘録

Posted at

困ったら

ansible-doc <module>

git clone

gitモジュールがある。
repo=git:// (ssh)の場合だと、keyが云々にケチがつくので
accept_hostkey=yes

git for private repo

ssh-agentを使う方法も有るらしい。
http://qiita.com/seizans/items/f5f052aec1592c47767f

SELinux python

諦めていれろ

    - name: install essential packages
      yum: name=libselinux-python state=installed

lineinfileで追記

追記できる。SELINUXPLUSと無いけど。

    - name: disable SELinux
      lineinfile: dest=/etc/selinux/config regexp=^SELINUXPLUS= line=SELINUXPLUS=disabled

削除もできる、その場合は state=absent

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