1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-09 22:40:36 +00:00

Variable to install IMAP email fetching script

This commit is contained in:
Kris Lamoureux 2020-06-29 16:09:22 -04:00
parent 8ebf6b5313
commit 609d46c0a9
Signed by: kris
GPG Key ID: A30022791E1719A4
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ root_ssh_pub_keys: '{{ redmine_owner_ssh_pub_keys }}'
do_database_management: yes
do_redmine_db_import: yes # no import unless do_database_management is also yes
do_redmine_installer: yes
do_imap_fetch: yes # install the redmine_receive_imap template script
remote_scratch_path: /vagrant/scratch
nginx_pem: redmine.vm-rsa.pem
installer_package_name: easyredmine_2016_stable_u2072_vVersion_10_2_0.zip

View File

@ -148,7 +148,7 @@
dest: '{{ redmine_root_dir }}/script/redmine_receive_imap'
src: redmine_receive_imap.j2
mode: 0750
when: do_redmine_installer == True
when: do_imap_fetch == True
become: no
- name: add redmine repository fetch script
@ -165,6 +165,7 @@
minute: "*/5"
job: "({{ redmine_root_dir }}/script/redmine_receive_imap 2>&1 | sed '/install RDoc/d') >> {{ redmine_root_dir }}/log/redmine_receive_imap"
user: '{{ redmine_owner }}'
when: do_imap_fetch == True
become: yes
- name: adding redmine_fetch_changesets crontab