Upgrade the Narratio role to version 2.1.0
This commit is contained in:
@@ -3,6 +3,19 @@
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Read the baseline pipeline
|
||||
become: true
|
||||
ansible.builtin.slurp:
|
||||
src: /usr/local/etc/narratio/pipeline.yml
|
||||
register: narratio_baseline_pipeline
|
||||
|
||||
- name: Verify null Notarius fields are omitted
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- "'notarius' not in narratio_pipeline"
|
||||
vars:
|
||||
narratio_pipeline: "{{ narratio_baseline_pipeline.content | b64decode | from_yaml }}"
|
||||
|
||||
- name: Validate the pipeline as the Narratio account
|
||||
become: true
|
||||
become_user: narratio
|
||||
|
||||
Reference in New Issue
Block a user