From a2c46734fe52174f12dd61f55e375c08fd9aecd9 Mon Sep 17 00:00:00 2001 From: rrbadiani Date: Fri, 1 Sep 2023 17:18:09 +0530 Subject: [PATCH] added package tag --- playbooks/tasks/certificate_authority.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/playbooks/tasks/certificate_authority.yml b/playbooks/tasks/certificate_authority.yml index affa256ed..42d1683e2 100644 --- a/playbooks/tasks/certificate_authority.yml +++ b/playbooks/tasks/certificate_authority.yml @@ -30,6 +30,9 @@ ansible_become: "{{ ansible_become_localhost }}" - name: Apt update + tags: + - certificate_authority + - package apt: name: "{{item}}" state: present @@ -69,7 +72,9 @@ - '!all' - name: Install OpenSSL and Rsync - RedHat - tags: certificate_authority + tags: + - certificate_authority + - package yum: name: - openssl @@ -78,7 +83,9 @@ when: ansible_os_family == "RedHat" - name: Install OpenSSL and Rsync - Debian - tags: certificate_authority + tags: + - certificate_authority + - package apt: name: - openssl