From 742b833fd22959e427646425a69da6b8c9b1c8b2 Mon Sep 17 00:00:00 2001 From: Stanislav Popov Date: Fri, 1 May 2020 03:25:17 +0500 Subject: [PATCH] fix: fd -> fd-find, micro download -> apt install, add python3-venv --- defaults/main.yml | 6 ++++-- tasks/main.yml | 4 ++-- tasks/micro.yml | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index ad656c2..87e1b89 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,12 +2,12 @@ ntp_config_server: [ '0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org' ] common_timezone: 'Asia/Yekaterinburg' common_default_editor: mcedit -common_micro_version: 1.3.3 +#common_micro_version: 2.5.0 common_packages: - apt-transport-https - curl - ccze - - fd + - fd-find - git - grc - htop @@ -18,6 +18,7 @@ common_packages: - less - lnav - mc + - micro - mtr - ncdu - nmap @@ -45,6 +46,7 @@ common_packages_dev: - python3-dev - python3-pip - python3-setuptools + - python3-venv #- libxml2-dev # for howdoi #- libxslt1-dev # for howdoi #- zlib1g-dev # for howdoi diff --git a/tasks/main.yml b/tasks/main.yml index 8e2717b..ea21670 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,8 +1,8 @@ --- - include: packages.yml tags: [ common, install, packages ] -- include: micro.yml - tags: [ common, install, packages, micro ] +#- include: micro.yml +# tags: [ common, install, packages, micro ] - include: editor.yml tags: [ common, editor ] - include: timezone.yml diff --git a/tasks/micro.yml b/tasks/micro.yml index e98b0ce..19d6eb3 100644 --- a/tasks/micro.yml +++ b/tasks/micro.yml @@ -1,4 +1,5 @@ --- +# not used, install from apt - name: Check for micro exists stat: "path=/usr/local/bin/micro" register: common_micro_stat