aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/certbot/files/rsync.sh7
-rw-r--r--roles/certbot/tasks/main.yml11
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: