2017-02-01から1ヶ月間の記事一覧

pgpool

http://www.pgpool.net/pgpool-web/contrib_docs/watchdog_master_slave/ja.html failover.sh を promote に書き換える https://hnakamur.github.io/blog/2016/09/15/experiment-postgresql-active-standby-using-pgpool-ii/ listen_addresses FreeBSD 11.0-…

apache コンテントネゴシエーション

https://httpd.apache.org/docs/current/ja/content-negotiation.html

ansible private network address

gather_facts: yes tasks: - debug: var=ansible_all_ipv4_addresses - set_fact: man_ip: "{{ item }}" with_items: ansible_all_ipv4_addresses when: "item.startswith('10.')" - debug: var=man_ip http://stackoverflow.com/questions/34730239/how-to-…

ansible facts

Ansible 2.5 から facts は ansible_facts.* という名前空間配下でも参照可能 https://tekunabe.hatenablog.jp/entry/2018/05/04/ansible_facts_namespace

nscd nsswitch.conf

ただ、ネームサービススイッチファイル /etc/nsswitch.confや nscd の構成ファイル /etc/nscd.conf は読み直してくれないため、以下のようにデーモンの再起動が必要だ。http://solaris-user.com/solaris_beans/nscd.html