ansible: Cleanup debug statements in release-upgrade playbook
authorKienan Stewart <kstewart@efficios.com>
Thu, 15 Jun 2023 14:06:32 +0000 (10:06 -0400)
committerKienan Stewart <kstewart@efficios.com>
Tue, 20 Jun 2023 15:18:55 +0000 (11:18 -0400)
Change-Id: I86fe5b5f8a4e6849294cb5c19c919926c083db7c

automation/ansible/playbooks/release-upgrade.yml

index 82753c9cc99081000035a65d72d73ef97e90fd2b..aeeeb136c5ef688027b4ba8fb4c6c7560678cf30 100644 (file)
@@ -2,10 +2,6 @@
 - name: Set next release
   hosts: all
   tasks:
-    - debug:
-        msg: "{{lookup('vars', ansible_distribution+'_releases', default=[])}}"
-    - debug:
-        msg: "{{ansible_distribution_release}}"
     - set_fact:
         release_index: "{{lookup('ansible.utils.index_of', data=lookup('vars', ansible_distribution+'_releases', default=[]), test='eq', value=ansible_distribution_release)}}"
     # If there is not a next release available (as defined below in Debian_releasess
@@ -13,7 +9,7 @@
     - set_fact:
         next_release: "{{lookup('vars', ansible_distribution+'_releases')[release_index|int + 1]}}"
     - debug:
-        msg: "{{next_release}}"
+        msg: "Upgrading from {{ansible_distribution_release}} to {{next_release}}"
   vars:
     # 'stable' releases ordered from oldest to newest
     Debian_releases:
This page took 0.030899 seconds and 4 git commands to generate.