diff --git a/console.yml b/console.yml index 45a8646..53f44b3 100644 --- a/console.yml +++ b/console.yml @@ -9,7 +9,7 @@ - inventories/host_vars/networks.yml handlers: - - include: handlers/main.yml + - import_tasks: handlers/main.yml tasks: - name: Set Hostname @@ -18,7 +18,7 @@ tags: - network - - include: tasks/authorized_keys.yml + - import_tasks: tasks/authorized_keys.yml - name: put motd ansible.builtin.copy: @@ -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 diff --git a/tasks/console/apt.yml b/tasks/console/apt.yml index 0703e48..e9114c2 100644 --- a/tasks/console/apt.yml +++ b/tasks/console/apt.yml @@ -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 diff --git a/tasks/console/install_rename.yml b/tasks/console/install_rename.yml new file mode 100644 index 0000000..f0ed41e --- /dev/null +++ b/tasks/console/install_rename.yml @@ -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 diff --git a/templates/console/usr/bin/rename b/templates/console/usr/bin/rename new file mode 100755 index 0000000..3fbb0bc Binary files /dev/null and b/templates/console/usr/bin/rename differ