GithubHelp home page GithubHelp logo

ansible-role-yum-cron's Introduction

Role Name yum-cron

Build Status

Install and configure yum-cron on Centos 6/7

This installs yum-cron to it's defaults unless they are overridden. Keep in mind that CentOS6 it is default to install updates where in CentOS7 it is not. You may consider creating a dynamic group that configures these as appropriate.

Requirements

None

Role Variables

yumcron_update_on_ansible_run

Default: false

When set to true the role will run a yum update every time.

yumcron_update_on_first_run

Default: true

This will check to see if yum-cron is installed and bring the machine up to date if it has not been installed yet. This is beneficial if you start with this role that the machine will updated on the first provision.

yumcron_update_cmd

CentOS 7

Default: default

This sets the update_cmd parameter for yum-conf.

CentOS 6

Default: ""

This corresponds to the YUM_PARAMETER Option.

yumcron_apply_updates

CentOS 7

Default: no

Have yum-cron apply the updates.

CentOS 6

Default: yes

This toggles DOWNLOAD_ONLY. (yumcron_apply_updates = yes will set DOWNLOUD_ONLY to "no" and vice versa)

yumcron_emit_via (CentOS 7 only)

Default: stdio if yumcron_email_to is not defined else email You can also set this to the value you like. In this case, it will set to your value and not depend on yumcron_email_to.

yumcron_email_to

CentOS 7

Default: root

CentOS 6

Default: ""

Dependencies

None

Example Playbook

- hosts: servers
  roles:
     - { role: biggsean.yum-cron, yumcron_email_to: [email protected] }

License

MIT

ansible-role-yum-cron's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.