change: Create /var/www/certbot on every manager node

This commit is contained in:
2025-08-03 17:19:58 +02:00
parent d51e870e50
commit 1abc318582
2 changed files with 2 additions and 3 deletions
@@ -41,12 +41,12 @@ write_files:
path: /run/tmpfiles.d/sysctl-setup.sh
encoding: base64
defer: true
%{ if main_node ~}
- owner: root:root
content: "${certbot_setup}"
path: /run/tmpfiles.d/certbot-setup.sh
encoding: base64
defer: true
%{ if main_node ~}
- owner: root:root
content: "${swarm_setup}"
path: /run/tmpfiles.d/swarm-setup.sh
@@ -59,7 +59,7 @@ runcmd:
- /usr/local/bin/firewall-setup.sh
- /usr/local/bin/ssh-setup.sh
- /usr/local/bin/sysctl-setup.sh
%{ if main_node ~}
- /usr/local/bin/certbot-setup.sh
%{ if main_node ~}
- /usr/local/bin/swarm-setup.sh
%{ endif ~}
@@ -1,4 +1,3 @@
#!/bin/bash
mkdir -p /var/www/certbot
mkdir -p /etc/letsencrypt