Skip to content
Snippets Groups Projects
Verified Commit 514332ab authored by David Mehren's avatar David Mehren
Browse files

Always start after network is ready

parent ae1e2e43
No related branches found
No related tags found
No related merge requests found
...@@ -38,3 +38,16 @@ ...@@ -38,3 +38,16 @@
block: "{{ sshd_config }}" block: "{{ sshd_config }}"
marker: "#{mark} ANSIBLE MANAGED SSH DEFAULTS" marker: "#{mark} ANSIBLE MANAGED SSH DEFAULTS"
create: yes create: yes
- name: Create service override directory
file:
path: /etc/systemd/system/sshd.service.d
state: directory
- name: Copy service override
copy:
dest: /etc/systemd/system/sshd.service.d/override.conf
content: |
[Unit]
Wants=network-online.target
After=network-online.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment