From: Kienan Stewart Date: Thu, 15 Jun 2023 14:06:32 +0000 (-0400) Subject: ansible: Cleanup debug statements in release-upgrade playbook X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=491b5c0e519fd1bde94398938f6841ca03d0e16f;p=lttng-ci.git ansible: Cleanup debug statements in release-upgrade playbook Change-Id: I86fe5b5f8a4e6849294cb5c19c919926c083db7c --- diff --git a/automation/ansible/playbooks/release-upgrade.yml b/automation/ansible/playbooks/release-upgrade.yml index 82753c9..aeeeb13 100644 --- a/automation/ansible/playbooks/release-upgrade.yml +++ b/automation/ansible/playbooks/release-upgrade.yml @@ -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: