Compare commits

..

No commits in common. "3ca199ed20a2143fbe8ad7a6508850cd4f9ad286" and "bd04d892f8e86807225e118bb8018678e0bb778e" have entirely different histories.

3 changed files with 3 additions and 6 deletions

View File

@ -8,15 +8,14 @@ certbot_timer_name: certbot.timer
certbot_timer_state: started certbot_timer_state: started
certbot_timer_enabled: yes certbot_timer_enabled: yes
certbot_cron_state: present
certbot_cron_user: root certbot_cron_user: root
certbot_cron_file_path: /etc/cron.d/certbot certbot_cron_file_path: /etc/cron.d/certbot
certbot_cron_env: certbot_cron_env:
path: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin path: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
shell: /bin/sh shell: /bin/sh
certbot_cron_command: test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew certbot_cron_command: test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew
certbot_cron_hour: "*/12" cerbot_cron_hour: "*/12"
certbot_cron_minute: "0" cerbot_cron_minute: "0"
certbot_system_timer_on_calender: "*-*-* 00,12:00:00" certbot_system_timer_on_calender: "*-*-* 00,12:00:00"
certbot_system_timer_randomized_delay_sec: 43200 certbot_system_timer_randomized_delay_sec: 43200

View File

@ -74,7 +74,6 @@
job: "{{ item.value }}" job: "{{ item.value }}"
user: "{{ certbot_cron_user }}" user: "{{ certbot_cron_user }}"
cron_file: "{{ certbot_cron_file_path }}" cron_file: "{{ certbot_cron_file_path }}"
state: "{{ certbot_cron_state }}"
loop: "{{ certbot_cron_env | dict2items }}" loop: "{{ certbot_cron_env | dict2items }}"
- name: create job - name: create job
cron: cron:
@ -84,4 +83,3 @@
minute: "{{ certbot_cron_minute }}" minute: "{{ certbot_cron_minute }}"
cron_file: "{{ certbot_cron_file_path }}" cron_file: "{{ certbot_cron_file_path }}"
job: "{{ certbot_cron_command }}" job: "{{ certbot_cron_command }}"
state: "{{ certbot_cron_state }}"

View File

@ -63,7 +63,7 @@
path: "{{ gitea_log_path }}" path: "{{ gitea_log_path }}"
owner: "{{ gitea_user }}" owner: "{{ gitea_user }}"
group: "{{ gitea_group }}" group: "{{ gitea_group }}"
mode: 0755 mode: 755
state: directory state: directory
- name: configure systemd unit - name: configure systemd unit