generated from the-liberated-edge/wikijs
fix yamllint error - line too long
This commit is contained in:
parent
5fb0a14e33
commit
2e09798174
@ -22,11 +22,11 @@
|
|||||||
ipv4: "{{ ipv4 | regex_search('([0-9]+.[0-9]+.[0-9]+.[0-9]+)') }}"
|
ipv4: "{{ ipv4 | regex_search('([0-9]+.[0-9]+.[0-9]+.[0-9]+)') }}"
|
||||||
- name: load root password from environment variable
|
- name: load root password from environment variable
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
root_pwd: "{{ lookup('ansible.builtin.env', 'LTE_CONTAINER_ROOT_PWD') }}"
|
pwd: "{{ lookup('ansible.builtin.env', 'LTE_CONTAINER_ROOT_PWD') }}"
|
||||||
- name: connect via ssh to linux container
|
- name: connect via ssh to linux container
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
sshpass -p{{ root_pwd }} ssh -o ConnectTimeout=1 root@{{ ipv4 }} exit;
|
sshpass -p{{ pwd }} ssh -o ConnectTimeout=1 root@{{ ipv4 }} exit;
|
||||||
register: ssh
|
register: ssh
|
||||||
- name: verify ssh connection to linux container
|
- name: verify ssh connection to linux container
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user