diff options
author | 2023-07-22 16:46:55 +0100 | |
---|---|---|
committer | 2023-07-24 14:42:09 +0100 | |
commit | 688a0655ff5e498efac2ff61d9b0db2dc01cae0e (patch) | |
tree | 8a7775b8348ab6dd3f6d4b484e8868bc5af877d9 | |
parent | Remove all mention of old machines (diff) |
Remove explicit rrsync server start script
-rw-r--r-- | roles/certbot/files/rsync.sh | 7 | ||||
-rw-r--r-- | roles/certbot/tasks/main.yml | 11 |
2 files changed, 0 insertions, 18 deletions
diff --git a/roles/certbot/files/rsync.sh b/roles/certbot/files/rsync.sh deleted file mode 100644 index fa9b27b..0000000 --- a/roles/certbot/files/rsync.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# Start the rsync server and perform the transfer -rrsync -wo /etc/letsencrypt/live - -# Reload NGINX -systemctl reload nginx diff --git a/roles/certbot/tasks/main.yml b/roles/certbot/tasks/main.yml index 8b05420..2cf859c 100644 --- a/roles/certbot/tasks/main.yml +++ b/roles/certbot/tasks/main.yml @@ -54,17 +54,6 @@ tags: - role::certbot -- name: Install rsync + nginx reload script to replica servers - when: inventory_hostname != ansible_play_hosts[0] - copy: - src: rsync.sh - dest: /opt/cert_rsync.sh - owner: root - group: root - mode: "0500" - tags: - - role::certbot - - name: Install certificate distribution keys to other NGINX nodes when: inventory_hostname != ansible_play_hosts[0] ansible.posix.authorized_key: |