From c99a634f5ce284836402719c6ecdd385797888a3 Mon Sep 17 00:00:00 2001 From: mg Date: Thu, 1 Apr 2021 21:51:25 +0200 Subject: [PATCH] apt update ausgebaut (#57) update entfernt doku syntax meta bei cv4 entfernt Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/57 Co-Authored-By: mg Co-Committed-By: mg --- roles/mgrote.apt_install_packages/README.md | 4 +--- .../mgrote.apt_install_packages/tasks/main.yml | 7 +------ roles/mgrote.apt_update_packages/tasks/main.yml | 1 + roles/mgrote.cv4pve-autosnap/meta/main.yml | 17 ----------------- 4 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 roles/mgrote.cv4pve-autosnap/meta/main.yml diff --git a/roles/mgrote.apt_install_packages/README.md b/roles/mgrote.apt_install_packages/README.md index 6fbb4774..e67ccb6f 100644 --- a/roles/mgrote.apt_install_packages/README.md +++ b/roles/mgrote.apt_install_packages/README.md @@ -2,9 +2,7 @@ ### Beschreibung Fuehrt: -1. `apt update` -3. ` apt install {{ programme }}` -2. `apt upgrade` +` apt install {{ programme }}` aus. Es wird unterschieden ob das Ziel eine VM ist oder nicht. diff --git a/roles/mgrote.apt_install_packages/tasks/main.yml b/roles/mgrote.apt_install_packages/tasks/main.yml index d9c40ee3..a8bd405c 100644 --- a/roles/mgrote.apt_install_packages/tasks/main.yml +++ b/roles/mgrote.apt_install_packages/tasks/main.yml @@ -1,9 +1,4 @@ - - name: apt update - become: yes - ansible.builtin.package: - update_cache: yes - cache_valid_time: 3000 - +--- - name: install common-packages become: yes ansible.builtin.package: diff --git a/roles/mgrote.apt_update_packages/tasks/main.yml b/roles/mgrote.apt_update_packages/tasks/main.yml index 5daf7556..291ff035 100644 --- a/roles/mgrote.apt_update_packages/tasks/main.yml +++ b/roles/mgrote.apt_update_packages/tasks/main.yml @@ -1,3 +1,4 @@ +--- - name: update apt cache become: yes ansible.builtin.apt: diff --git a/roles/mgrote.cv4pve-autosnap/meta/main.yml b/roles/mgrote.cv4pve-autosnap/meta/main.yml deleted file mode 100644 index 677ce366..00000000 --- a/roles/mgrote.cv4pve-autosnap/meta/main.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -dependencies: -#- role: hedii.youtube-dl -# vars: -# youtubedl_executable_path: "/usr/local/bin/youtube-dl" -# youtubedl_update: true -galaxy_info: - author: mgrote - description: XXX - min_ansible_version: 2.0 - license: GPLv3 - platforms: - - name: Ubuntu - versions: - - all - galaxy_tags: - - system