diff --git a/config.yml b/config.yml index 548f1f6..a6c334b 100644 --- a/config.yml +++ b/config.yml @@ -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 diff --git a/roles/easyredmine/tasks/redmine.yml b/roles/easyredmine/tasks/redmine.yml index 3acf12f..b542731 100644 --- a/roles/easyredmine/tasks/redmine.yml +++ b/roles/easyredmine/tasks/redmine.yml @@ -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