From 16489ecc0a3f075a36c038916777604dd64956eb Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 21 May 2022 13:53:11 +0200 Subject: [PATCH] Add setting computer type --- roles/ubuntu/tasks/main.yml | 2 ++ roles/ubuntu/tasks/set-type.yml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 roles/ubuntu/tasks/set-type.yml diff --git a/roles/ubuntu/tasks/main.yml b/roles/ubuntu/tasks/main.yml index 3140acf..ffada11 100644 --- a/roles/ubuntu/tasks/main.yml +++ b/roles/ubuntu/tasks/main.yml @@ -4,3 +4,5 @@ - import_tasks: timezone.yml - import_tasks: packages.yml + +- import_tasks: set-type.yml \ No newline at end of file diff --git a/roles/ubuntu/tasks/set-type.yml b/roles/ubuntu/tasks/set-type.yml new file mode 100644 index 0000000..24b9c55 --- /dev/null +++ b/roles/ubuntu/tasks/set-type.yml @@ -0,0 +1,6 @@ +--- +- name: set computer type to desktop + become: yes + copy: + content: desktop + dest: /etc/.computer-type