Created
November 3, 2016 10:10
-
-
Save nlienard/918b7742b0c7ec9a1a6c96fb5b2ebe48 to your computer and use it in GitHub Desktop.
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: get public_ipv4 (Scaleway) | |
command: scw-metadata PUBLIC_IP_ADDRESS | |
register: result | |
when: (physical_ip is not defined and ansible_os_family == "Debian") | |
changed_when: false | |
ignore_errors: true | |
Result : | |
TASK [tinc : get public_ipv4 (Scaleway)] *************************************** | |
fatal: [tinc09]: FAILED! => {"failed": true, "msg": "The conditional check '(physical_ip is not defined and ansible_os_family == \"Debian\")' failed. The error was: error while evaluating conditional ((physical_ip is not defined and ansible_os_family == \"Debian\")): {{ ansible_br_wan.ipv4.address }}: 'ansible_br_wan' is undefined\n\nThe error appears to have been in '/srv/fuse/infra/ansible/roles/tinc/tasks/main.yml': line 80, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: get public_ipv4 (Scaleway)\n ^ here\n"} | |
...ignoring | |
fatal: [tinc10]: FAILED! => {"failed": true, "msg": "The conditional check '(physical_ip is not defined and ansible_os_family == \"Debian\")' failed. The error was: error while evaluating conditional ((physical_ip is not defined and ansible_os_family == \"Debian\")): {{ ansible_br_wan.ipv4.address }}: 'ansible_br_wan' is undefined\n\nThe error appears to have been in '/srv/fuse/infra/ansible/roles/tinc/tasks/main.yml': line 80, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: get public_ipv4 (Scaleway)\n ^ here\n"} | |
...ignoring | |
tinc09 is Freebsd, it shouldn't be in result. | |
tinc10 is a Debian. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment