Browse Source

use new filter everywhere

python3
Edoardo Putti 8 years ago
parent
commit
6331cbb943
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      roles/roundcube/tasks/main.yaml
  2. +1
    -1
      roles/ssh_server/tasks/main.yaml

+ 1
- 1
roles/roundcube/tasks/main.yaml View File

@ -38,7 +38,7 @@
- name: '(FIX REMOVE THIS ACTION) add temporary host record'
lineinfile:
dest: /etc/hosts
line: "{{ hostvars['mail'].ansible_host }} {{ mail_server }}"
line: "{{ hostvars | ip_from_inventory('mail') }} {{ mail_server }}"
regexp: "{{ mail_server }}$"
- name: include my-roundcube.php


+ 1
- 1
roles/ssh_server/tasks/main.yaml View File

@ -115,7 +115,7 @@
- name: "waiting for ssh on {{ ansible_docker_extra_args | default(inventory_hostname) }} to start"
wait_for:
host: "{{ hostvars[inventory_hostname]['ansible_host'] }}"
host: "{{ hostvars | ip_from_inventory(inventory_hostname) }}"
port: 22
timeout: 30
delegate_to: "{{ inventory_hostname }}"


Loading…
Cancel
Save