Avoid running our sshd role against rpm-ostree distros

This commit is contained in:
Salt 2022-08-28 11:46:35 -05:00
parent a12e186c38
commit cc3dcd5aeb

View File

@ -25,6 +25,9 @@
Subsystem: "sftp /usr/lib/openssh/sftp-server"
UsePAM: yes
X11Forwarding: no
# We avoid running on "atomic_container" distros since they already ship
# sshd and since this role doesn't support them
when: not ansible_pkg_mgr == "atomic_container"
tags: [ sshd, common ]
- hosts: all:!tags_no-docker
roles: