diff options
author | uvok cheetah | 2025-06-09 11:21:14 +0200 |
---|---|---|
committer | uvok cheetah | 2025-06-09 11:21:14 +0200 |
commit | 65100dc7eb3913b182fc9cef064f1f362d8e02ad (patch) | |
tree | 64f79948829661ea84e1b0000aa7dbeca95d7a25 | |
parent | 046b00ca66abb5cc1420b4509397b119dd3d3c39 (diff) |
tailscale: Create dir first
-rw-r--r-- | tailscale-fuckup.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tailscale-fuckup.yml b/tailscale-fuckup.yml index 238eba4..8ea9f34 100644 --- a/tailscale-fuckup.yml +++ b/tailscale-fuckup.yml @@ -7,6 +7,13 @@ path: /var/lib/tailscale/ register: tailscale_dir + - name: Ensure /etc/systemd/system/tailscaled.service.d/ exists + file: + path: /etc/systemd/system/tailscaled.service.d/ + state: directory + mode: '0755' + when: tailscale_dir.stat.exists + - name: Create override.conf if directory exists copy: dest: /etc/systemd/system/tailscaled.service.d/override.conf |