From c2cf7ec8bf0b27b7d6f3f988af8653b9bb0402f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Tue, 2 Apr 2019 15:00:38 +0200 Subject: [PATCH] Manage the state of the apt_key --- CHANGELOG.md | 1 + tasks/main.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3eba90..6e06445 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Install libxslt1.1 as dependency for om.* apps. * Manage systemd service that provide the web interface. * Manage dataeng service to be able to use OpenManage apps. +* Manage the state of the apt_key. ## v1.0.2 diff --git a/tasks/main.yml b/tasks/main.yml index b9236a8..afc829c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -23,6 +23,7 @@ url: '{{ item.key_url | d(omit) }}' id: '{{ item.key_id | d(omit) }}' keyserver: '{{ item.key_keyserver | d(omit) }}' + state: '{{ item.state | d("present") }}' with_flattened: - '{{ openmanage__repositories }}' register: openmanage__register_key