From 4ea84b78805e11b3733a9fb47759ebb66f64ebc2 Mon Sep 17 00:00:00 2001 From: lefos Date: Sun, 31 Oct 2021 22:29:22 +0200 Subject: [PATCH] test try 2 --- monitorall.yml | 54 +++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/monitorall.yml b/monitorall.yml index 77b5813..ba75eab 100644 --- a/monitorall.yml +++ b/monitorall.yml @@ -10,37 +10,37 @@ # ------------------------ # apt update # ------------------------- - - name: apt update packages - become: true - apt: - update_cache: 'yes' - force_apt_get: 'yes' - upgrade: 'dist' - cache_valid_time: 3600 - install_recommends: true - autoremove: true + # - name: apt update packages + # become: true + # apt: + # update_cache: 'yes' + # force_apt_get: 'yes' + # upgrade: 'dist' + # cache_valid_time: 3600 + # install_recommends: true + # autoremove: true # ------------------------ # apt install packages # ------------------------- - - name: apt install packages - become: true - apt: - update_cache: 'yes' - force_apt_get: 'yes' - install_recommends: true - autoremove: true - name: "{{ packages }}" - vars: - packages: - - build-essential - - git - - flex - - bison - - traceroute - - curl - - lynx - - ruby + # - name: apt install packages + # become: true + # apt: + # update_cache: 'yes' + # force_apt_get: 'yes' + # install_recommends: true + # autoremove: true + # name: "{{ packages }}" + # vars: + # packages: + # - build-essential + # - git + # - flex + # - bison + # - traceroute + # - curl + # - lynx + # - ruby - name: Import the public key used by the package management system apt_key: keyserver=hkp://keyserver.ubuntu.com:80 id=7F0CEB10 state=present - name: Add MongoDB repository