Browse Source

roles/ssh_server: missed step in ssh_lxc migration

The role was still referencing older `ansible_docker_extra_args`
variable.

Replaced with `ansible_ssh_lxc_name`.
python3
Zolfa 5 years ago
parent
commit
2720707479
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      roles/ssh_server/defaults/main.yaml
  2. +1
    -1
      roles/ssh_server/tasks/main.yaml

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

@ -1,2 +1,2 @@
---
server_fqdn: "{{ ansible_docker_extra_args or inventory_hostname }}.lilik.it"
server_fqdn: "{{ ansible_ssh_lxc_name | default(inventory_hostname) }}.lilik.it"

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

@ -107,7 +107,7 @@
- meta: flush_handlers
- name: "waiting for ssh on {{ ansible_docker_extra_args | default(inventory_hostname) }} to start"
- name: "waiting for ssh on {{ ansible_ssh_lxc_name | default(inventory_hostname) }} to start"
wait_for:
host: "{{ hostvars | ip_from_inventory(inventory_hostname) }}"
port: 22


Loading…
Cancel
Save