fgci-org / fgci-ansible

:microscope: Collection of the Finnish Grid and Cloud Infrastructure Ansible playbooks
MIT License
54 stars 18 forks source link

yum spam a lot #90

Closed A1ve5 closed 8 years ago

A1ve5 commented 8 years ago

Yum is spamming root user and consequently admin e-Mail every time it runs. Let's try to disable this or make it optional.

martbhell commented 8 years ago

It's yum-cron that sends e-mails.

The variables for that role is here: https://github.com/jeffwidman/ansible-yum-cron/blob/master/defaults/main.yml

The variable emit_via can be changed to reflect the users' desires. "None" will disable e-mails.

martbhell commented 8 years ago

I think this is at most a documentation issue. Can we close this?

martbhell commented 8 years ago

One can also make yum stop spamming by autoupdating everything - by setting "hourly_update_level: default"

We could add that to the fgci-ansible/examples/group_vars if that is what we want.