From nobody Fri Mar 29 05:22:58 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=patchew-devel-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1605880290; cv=none; d=zohomail.com; s=zohoarc; b=naVMYLwIlpdTqA7DLa85ardH3Q2XZ7cHPrIBhtXk8KlMx7kShIprdiLGlAoJyqaK1CqiyhlQRLxLuMVvGvbXdQq4TY2rUXso7VYqeHp7kdLJK/0uJn9MgsQKez6XgMUvXOa/Ok2y6BVat5ViOa1fwZf8uc96N5Ph5n3E+IT79gA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605880290; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=f9rqXeyA0U+ZHCxPGFy4MtjV4zrzCVis+J+8PXDLzzI=; b=bvL6kuD0jfYwBWYPRnyT87WCJLFXN3WGhYC7qtFaEaIvznRoCea0EpbvFK5f+2TFa1fUpebZjcQFToAvWOQtCR4b8LmFHl35UwNzMuWPO1E9KCJGEce5wAxJ9/OWGwk8K4ZbM+210mA9AD7wI/QNgMnx8DN2wHqA7Hxsuvy9Z/M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=patchew-devel-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1605880290676943.6756971419144; Fri, 20 Nov 2020 05:51:30 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-230-jrtxd__YN9CD438kyMIYgw-1; Fri, 20 Nov 2020 08:51:27 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0CB0B10151E5; Fri, 20 Nov 2020 13:51:25 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 059CA1F0; Fri, 20 Nov 2020 13:51:25 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id EF453180954D; Fri, 20 Nov 2020 13:51:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AKDpNKG030607 for ; Fri, 20 Nov 2020 08:51:23 -0500 Received: by smtp.corp.redhat.com (Postfix) id B3DC310021B3; Fri, 20 Nov 2020 13:51:23 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-204.ams2.redhat.com [10.36.112.204]) by smtp.corp.redhat.com (Postfix) with ESMTP id 35AC21001B2C for ; Fri, 20 Nov 2020 13:51:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605880289; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=f9rqXeyA0U+ZHCxPGFy4MtjV4zrzCVis+J+8PXDLzzI=; b=g1dn6Kouyi3ZnwiqF4wobcfK0tIgMJIK//0kTOxUPDoSoDWPbhbIZKppkuqhBQ7s1Fur4Q ddc9bf/6WZPeD0ziMa8NRBtVSZpljBzfbTP62tMX4yNgA/9i8s9QL5g2GxZragWxIxUKfs V3dysJP6jrAjOSXERIVpuiZkYAAygVU= X-MC-Unique: jrtxd__YN9CD438kyMIYgw-1 From: Paolo Bonzini To: patchew-devel@redhat.com Date: Fri, 20 Nov 2020 14:51:17 +0100 Message-Id: <20201120135117.152330-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: patchew-devel@redhat.com Subject: [Patchew-devel] [PATCH] deploy: do not use docker_image force argument X-BeenThere: patchew-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Patchew development and discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: patchew-devel-bounces@redhat.com Errors-To: patchew-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=patchew-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Fixes the following warning: [WARNING]: The "force" option will be removed in Ansible 2.12. Please use t= he "force_source", "force_absent" or "force_tag" option instead, depending on what you want to force. [DEPRECATION WARNING]: Param force is deprecated. See the module docs for m= ore information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting de= precation_warnings=3DFalse in ansible.cfg. Both patchew.org and next.patchew.org are using Ansible 2.9, and force_abse= nt was added in 2.8. --- scripts/playbooks/tasks/docker-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/playbooks/tasks/docker-deploy.yml b/scripts/playbooks/= tasks/docker-deploy.yml index 2b239b1..2cd2f32 100644 --- a/scripts/playbooks/tasks/docker-deploy.yml +++ b/scripts/playbooks/tasks/docker-deploy.yml @@ -45,7 +45,7 @@ - "--exclude=3D/venv" - name: Delete old docker image stash docker_image: - force: yes + force_absent: yes name: "patchew:{{ instance_name }}-prev" state: absent - name: Stash docker image --=20 2.28.0 _______________________________________________ Patchew-devel mailing list Patchew-devel@redhat.com https://www.redhat.com/mailman/listinfo/patchew-devel