Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add application install for console #68

Merged
merged 1 commit into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- inventories/host_vars/networks.yml

handlers:
- include: handlers/main.yml
- import_tasks: handlers/main.yml

tasks:
- name: Set Hostname
Expand All @@ -18,7 +18,7 @@
tags:
- network

- include: tasks/authorized_keys.yml
- import_tasks: tasks/authorized_keys.yml

- name: put motd
ansible.builtin.copy:
Expand Down Expand Up @@ -50,10 +50,11 @@
tags:
- system

- include: tasks/timezone.yml
- import_tasks: tasks/timezone.yml

- include: tasks/console/firewall.yml
- import_tasks: tasks/console/firewall.yml

- include: tasks/console/apt.yml
- import_tasks: tasks/console/apt.yml
- import_tasks: tasks/console/install_rename.yml

- include: tasks/stop-apt-daily.yml
- import_tasks: tasks/stop-apt-daily.yml
18 changes: 18 additions & 0 deletions tasks/console/apt.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
- name: Install Console modules
ansible.builtin.apt:
pkg:
- curl
- emacs
- ffmpegthumbnailer
- gimp
- git
- golang
- gpgv2
- gprename
- heif-thumbnailer
- htop
- jq
- libaacs0
- libbluray-bdj
- libbluray2
- libdvd-pkg
- libdvdcss
- libheif1
- openssh-server
- openssl
- p7zip-full
- python3-pip
- samba-common
- vim
- vlc
- wireshark
- xrdp
- zsh
9 changes: 9 additions & 0 deletions tasks/console/install_rename.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- name: put rename(1)
ansible.builtin.copy:
src: templates/console/usr/bin/rename
dest: /usr/bin/rename
owner: root
group: root
mode: '0755'
tags:
- system
Binary file added templates/console/usr/bin/rename
Binary file not shown.
Loading