From 089b72b86f0364ab982d52d7b4ed2aa5123a3092 Mon Sep 17 00:00:00 2001 From: Jordan Layfield Date: Tue, 18 Jun 2024 12:49:13 +0100 Subject: [PATCH] fixes for ubuntu TO-246 --- tasks/Ubuntu.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/Ubuntu.yml b/tasks/Ubuntu.yml index cc568bb..178fbb2 100644 --- a/tasks/Ubuntu.yml +++ b/tasks/Ubuntu.yml @@ -5,6 +5,10 @@ state: present become: true +- name: Disable autologin + ansible.builtin.command: systemctl disable gdm + become: true + - name: Ensure X11UseLocalhost is set to anybody ansible.builtin.lineinfile: path: /etc/X11/Xwrapper.config @@ -17,4 +21,5 @@ ansible.builtin.service: name: xrdp state: restarted - enabled: true \ No newline at end of file + enabled: true + become: true \ No newline at end of file