Browse Source

test try 2

master
lefos 3 years ago
parent
commit
4ea84b7880
  1. 54
      monitorall.yml

54
monitorall.yml

@ -10,37 +10,37 @@
# ------------------------ # ------------------------
# apt update # apt update
# ------------------------- # -------------------------
- name: apt update packages # - name: apt update packages
become: true # become: true
apt: # apt:
update_cache: 'yes' # update_cache: 'yes'
force_apt_get: 'yes' # force_apt_get: 'yes'
upgrade: 'dist' # upgrade: 'dist'
cache_valid_time: 3600 # cache_valid_time: 3600
install_recommends: true # install_recommends: true
autoremove: true # autoremove: true
# ------------------------ # ------------------------
# apt install packages # apt install packages
# ------------------------- # -------------------------
- name: apt install packages # - name: apt install packages
become: true # become: true
apt: # apt:
update_cache: 'yes' # update_cache: 'yes'
force_apt_get: 'yes' # force_apt_get: 'yes'
install_recommends: true # install_recommends: true
autoremove: true # autoremove: true
name: "{{ packages }}" # name: "{{ packages }}"
vars: # vars:
packages: # packages:
- build-essential # - build-essential
- git # - git
- flex # - flex
- bison # - bison
- traceroute # - traceroute
- curl # - curl
- lynx # - lynx
- ruby # - ruby
- name: Import the public key used by the package management system - name: Import the public key used by the package management system
apt_key: keyserver=hkp://keyserver.ubuntu.com:80 id=7F0CEB10 state=present apt_key: keyserver=hkp://keyserver.ubuntu.com:80 id=7F0CEB10 state=present
- name: Add MongoDB repository - name: Add MongoDB repository

Loading…
Cancel
Save