ssh pkg check

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-01-18 13:18:15 +00:00
parent 9b6c06e930
commit 26224a51d9
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB

View file

@ -5,6 +5,8 @@
- name: "SECTION | 5.2 | Configure SSH Server" - name: "SECTION | 5.2 | Configure SSH Server"
include_tasks: cis_5.2.x.yml include_tasks: cis_5.2.x.yml
when:
- "'openssh-server' in ansible_facts.packages"
- name: "SECTION | 5.3 | Configure Profiles" - name: "SECTION | 5.3 | Configure Profiles"
import_tasks: cis_5.3.x.yml import_tasks: cis_5.3.x.yml