diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-30 15:39:08 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-30 15:50:40 +0000 |
commit | 6b106cce38106e7beb9db623a9d98784cb8bbc86 (patch) | |
tree | a7ec7381526c44dd778ab3a911e55b654c1746eb /roles/sshd/tasks | |
parent | d39f2e2ac88b107014c373b380eb76adae0f91ee (diff) | |
download | rules-6b106cce38106e7beb9db623a9d98784cb8bbc86.tar.gz |
ansible_port: Add ssh port switch to network roles
Diffstat (limited to 'roles/sshd/tasks')
-rw-r--r-- | roles/sshd/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml index 54ef9c2..f1af386 100644 --- a/roles/sshd/tasks/main.yml +++ b/roles/sshd/tasks/main.yml @@ -17,6 +17,6 @@ - name: check ssh connection wait_for: - port: 22 + port: "{{ ansible_port }}" delay: 1 state: started |