Vagrant-based testing environment #111

Merged
valberg merged 15 commits from vagrant into main 2022-11-25 13:07:10 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 1744cf7585 - Show all commits

View File

@ -3,6 +3,7 @@
wait_for:
port: 19022
host: "{{ ansible_host }}"
search_regex: "OpenSSH"
connect_timeout: 5
timeout: 10
become: false
@ -20,7 +21,7 @@
ssh_configured.state != "started")) and
ansible_port != 2222
- name: Change SSH port
- name: Change SSH port on host
lineinfile:
dest: "/etc/ssh/sshd_config"
regexp: "^#?Port"