Skip to content

Commit

Permalink
each major role change can be recorded in upgrade_roles with a bump i…
Browse files Browse the repository at this point in the history
…n iiab_revision to denote the addition
  • Loading branch information
jvonau committed Sep 13, 2020
1 parent a4afb3b commit 7a156e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions roles/9-local-addons/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
name: calibre-web
when: calibreweb_install | bool

- name: Record IIAB_REVISION
lineinfile:
path: "{{ iiab_env_file }}"
regexp: '^IIAB_REVISION=*'
line: 'IIAB_REVISION={{ iiab_revision }}'

- name: Recording STAGE 9 HAS COMPLETED ====================
lineinfile:
path: "{{ iiab_env_file }}"
Expand Down
2 changes: 1 addition & 1 deletion vars/default_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# IIAB (PRE-)release version number, for {{ iiab_env_file }}
iiab_base_ver: 7.2
iiab_revision: 0
iiab_revision: 1

iiab_etc_path: /etc/iiab

Expand Down

0 comments on commit 7a156e4

Please sign in to comment.