Browse Source

prepare_lxc_container: var to skip ssh config for thin vm

python3
Zolfa 4 years ago
parent
commit
f01b9fcd2e
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      prepare_lxc_guest.yaml

+ 7
- 4
prepare_lxc_guest.yaml View File

@ -17,9 +17,12 @@
tags:
- 'always'
- name: 'ssh server offline configuration'
import_role: name='ssh_server'
- block:
- name: 'ssh server offline configuration'
import_role: name='ssh_server'
- name: 'CONNECTION | use ssh [now host is online]'
set_fact: ansible_connection='ssh'
- name: 'CONNECTION | use ssh [now host is online]'
set_fact: ansible_connection='ssh'
when: configure_ssh|d(true)
...

Loading…
Cancel
Save