Created
February 12, 2017 10:27
-
-
Save yoshikaw/867fbec72fcda279fe81c85dfebd2e07 to your computer and use it in GitHub Desktop.
Ansible実践ガイド 4-2のKeepalivedの起動確認のタスクは、portを指定しないとtaimuautoまで待ってしまうのではないか?それにlocal_actionのwait_forではbecomeは不要なのでは。 https://gitlab.com/shkitayama/ansible_practical_guide/blob/master/effective_ansible/sec4/roles/keepalived/tasks/configure.yml#L38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: configure / Wait for keepalived reload | |
become: no | |
local_action: | |
module: wait_for | |
host: "{{ item.address }}" | |
port: "{{ item.port }}" | |
delay: 5 | |
timeout: 60 | |
with_items: "{{ keepalived_vip_interfaces }}" | |
run_once: True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment