workstation/roles/ubuntu/tasks/packages-cli.yml

53 lines
1.3 KiB
YAML
Raw Normal View History

---
# Copyright 2021 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 CLI packages
become: true
2021-02-19 20:32:22 +00:00
ansible.builtin.apt:
name: '{{ packages }}'
state: present
force_apt_get: yes
vars:
packages:
- apt-file
- asciidoctor
2020-01-14 09:10:14 +00:00
- clang
- clang-format
2020-10-15 20:35:20 +00:00
- curl
- dc
- dnsutils
- git
2019-10-10 18:10:42 +00:00
- gnupg
2020-01-14 17:10:51 +00:00
- libu2f-udev
2020-01-14 09:10:14 +00:00
- lldb
- mc
- nmap
2019-10-05 19:32:56 +00:00
- openssh-server
- packagekit
- python3
2019-10-04 14:38:31 +00:00
- python3-psutil
- ruby-asciidoctor-pdf
- sqlite3
- sudo
- tmux
2019-10-21 08:09:44 +00:00
- vim
2019-10-21 08:11:03 +00:00
- wordgrinder-ncurses
- zsh
2020-06-18 13:03:42 +00:00
- name: Load /etc/profile in zsh
2020-01-13 08:37:00 +00:00
become: true
2021-02-19 20:32:22 +00:00
ansible.builtin.lineinfile:
2020-01-13 08:37:00 +00:00
path: /etc/zsh/zprofile
line: emulate sh -c 'source /etc/profile'