diff --git a/roles/debian/tasks/main.yml b/roles/debian/tasks/main.yml index 7d6af1e..4837537 100644 --- a/roles/debian/tasks/main.yml +++ b/roles/debian/tasks/main.yml @@ -15,6 +15,7 @@ - import_tasks: apt-sources.yml - import_tasks: packages-cli.yml +- import_tasks: packages-devel.yml - import_tasks: packages-gui.yml when: gui == true - import_tasks: modules.yml diff --git a/roles/debian/tasks/packages-cli.yml b/roles/debian/tasks/packages-cli.yml index 34efa9e..10611d6 100644 --- a/roles/debian/tasks/packages-cli.yml +++ b/roles/debian/tasks/packages-cli.yml @@ -23,7 +23,6 @@ packages: - apt-file - apt-listchanges - - build-essential - curl - dc - dnsutils diff --git a/roles/debian/tasks/packages-devel.yml b/roles/debian/tasks/packages-devel.yml new file mode 100644 index 0000000..137e903 --- /dev/null +++ b/roles/debian/tasks/packages-devel.yml @@ -0,0 +1,25 @@ +--- +# Copyright 2021-2023 Anthony Perkins +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- name: Install development packages + become: true + ansible.builtin.apt: + name: '{{ packages }}' + state: present + force_apt_get: yes + vars: + packages: + - build-essential + - gdb