Skip to content

Commit

Permalink
Add application install for console
Browse files Browse the repository at this point in the history
  • Loading branch information
cradle8810 committed Apr 6, 2024
1 parent 8aeec56 commit 3491444
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
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.

0 comments on commit 3491444

Please sign in to comment.