From 6b923702afd1cc5d73f655d9d0bb9167950d33f3 Mon Sep 17 00:00:00 2001 From: Kit Sunde Date: Sat, 19 May 2018 16:41:29 +0800 Subject: [PATCH] Installed is deprecated and will be removed in 2.9 --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index a05c2e5..f3274c6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,13 +8,13 @@ - name: Install HTTPS transport for APT apt: pkg: apt-transport-https - state: installed + state: present when: not apt_https_transport.stat.exists - name: Install GPG apt: pkg: gnupg - state: installed + state: present - name: Import the NodeSource GPG key into apt apt_key: @@ -41,5 +41,5 @@ apt: pkg: - nodejs - state: installed + state: present update_cache: yes