Update to 2021-02-15 21:00

master
Daniel Berteaud 4 years ago
parent fa0878f7e3
commit b223ea3439
  1. 8
      roles/openxpki/defaults/main.yml
  2. 2
      roles/openxpki/tasks/archive_pre.yml
  3. 4
      roles/openxpki/tasks/conf.yml
  4. 4
      roles/openxpki/tasks/install.yml

@ -1,12 +1,12 @@
--- ---
pki_version: 3.8.1 pki_version: '3.10.1'
pki_archive_url: https://github.com/openxpki/openxpki/archive/v{{ pki_version }}.tar.gz pki_archive_url: https://github.com/openxpki/openxpki/archive/v{{ pki_version }}.tar.gz
pki_archive_sha1: 9ba93400aa689a5daeedca59b531928373c616b9 pki_archive_sha1: 396cc783369433f1fb0cded3bd36d690d8a13b69
pki_config_version: 3.8 pki_config_version: '3.10'
pki_config_archive_url: https://github.com/openxpki/openxpki-config/archive/v{{ pki_config_version }}.tar.gz pki_config_archive_url: https://github.com/openxpki/openxpki-config/archive/v{{ pki_config_version }}.tar.gz
pki_config_archive_sha1: 9f1499aee6be42f26a2bdddee4687fa02f23f8f2 pki_config_archive_sha1: 1abf078ecbb9752aecfa095a5d441e7685a19a5c
# Should ansible handle updates or only initial install # Should ansible handle updates or only initial install
pki_manage_upgrade: True pki_manage_upgrade: True

@ -8,8 +8,8 @@
synchronize: synchronize:
src: "{{ pki_root_dir }}" src: "{{ pki_root_dir }}"
dest: "{{ pki_root_dir }}/archives/{{ pki_current_version }}/" dest: "{{ pki_root_dir }}/archives/{{ pki_current_version }}/"
recursive: True
delete: True delete: True
compress: False
rsync_opts: rsync_opts:
- '--exclude=archives/' - '--exclude=archives/'
- '--exclude=run/' - '--exclude=run/'

@ -20,7 +20,7 @@
synchronize: synchronize:
src: "{{ pki_root_dir }}/src/openxpki-config-{{ pki_config_version }}/" src: "{{ pki_root_dir }}/src/openxpki-config-{{ pki_config_version }}/"
dest: "{{ pki_root_dir }}/etc/" dest: "{{ pki_root_dir }}/etc/"
recursive: True compress: False
rsync_opts: rsync_opts:
- '--exclude=config.d/realm/democa' - '--exclude=config.d/realm/democa'
delegate_to: "{{ inventory_hostname }}" delegate_to: "{{ inventory_hostname }}"
@ -37,7 +37,7 @@
synchronize: synchronize:
src: "{{ pki_root_dir }}/etc/config.d/realm.tpl/" src: "{{ pki_root_dir }}/etc/config.d/realm.tpl/"
dest: "{{ pki_root_dir }}/etc/config.d/realm/{{ item.item.name }}/" dest: "{{ pki_root_dir }}/etc/config.d/realm/{{ item.item.name }}/"
recursive: True compress: False
delete: True delete: True
delegate_to: "{{ inventory_hostname }}" delegate_to: "{{ inventory_hostname }}"
when: item.changed or pki_install_mode != 'none' when: item.changed or pki_install_mode != 'none'

@ -106,8 +106,8 @@
synchronize: synchronize:
src: "{{ pki_root_dir }}/src/openxpki-config-{{ pki_config_version }}/" src: "{{ pki_root_dir }}/src/openxpki-config-{{ pki_config_version }}/"
dest: "{{ pki_root_dir }}/src/openxpki-{{ pki_version }}/config/" dest: "{{ pki_root_dir }}/src/openxpki-{{ pki_version }}/config/"
recursive: True
delete: True delete: True
compress: False
delegate_to: "{{ inventory_hostname }}" delegate_to: "{{ inventory_hostname }}"
- name: Scan, build and install translations - name: Scan, build and install translations
@ -119,7 +119,7 @@
synchronize: synchronize:
src: "{{ pki_root_dir }}/src/openxpki-{{ pki_version }}/core/server/{{ item }}" src: "{{ pki_root_dir }}/src/openxpki-{{ pki_version }}/core/server/{{ item }}"
dest: "{{ pki_root_dir }}/web/" dest: "{{ pki_root_dir }}/web/"
recursive: True compress: False
delegate_to: "{{ inventory_hostname }}" delegate_to: "{{ inventory_hostname }}"
with_items: with_items:
- cgi-bin - cgi-bin

Loading…
Cancel
Save