From 82a3175c486c2b86b1eff33eb89edeb17009d060 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 15 Dec 2024 10:43:27 -0800 Subject: [PATCH] serial-console: only start gettys on x86_64 power and also now all our aarch64 bvmhosts shouldn't start serial getty. Only the x86_64 ones have this, so just match on them. Signed-off-by: Kevin Fenzi --- roles/serial-console/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/serial-console/tasks/main.yml b/roles/serial-console/tasks/main.yml index 1ca3c77f2b..d5f27ecf59 100644 --- a/roles/serial-console/tasks/main.yml +++ b/roles/serial-console/tasks/main.yml @@ -23,7 +23,7 @@ name: serial-getty@ttyS0 state: started enabled: true - when: ansible_architecture != 'ppc64le' + when: ansible_architecture == 'x86_64' tags: - serial-console @@ -32,6 +32,6 @@ name: serial-getty@ttyS1 state: started enabled: true - when: ansible_architecture != 'ppc64le' + when: ansible_architecture == 'x86_64' tags: - serial-console