Skip to content

nemonik/common-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common Ansible role

Basic role syntax check

An Ansible role to configure the instance past the base CentOS 7, Alpine 3.10 or Ubuntu Bionic image.

Requirements

A CentOS 7, Alpine 3.10 and Ubuntu Bionic base image.

Role Variables

Variable Required Default Choices Comments
default_retries yes 60 Integer value default number of retries
default_delay yes 60 Integer value default delay in seconds between retries

Example Playbook

An example can be found used in my Hands-on DevOps course's box/ansible/box-playbook-1.yml.

- hosts: boxes
  connection: local
  remote_user: vagrant
  roles:
    - common

The above Ansible playbook uses This role to configure the instance past the base CentOS 7, Alpine 3.10 or Ubuntu Bionic image.

For more information and to see this role put into action checkout my Hands-on DevOps class project.

License

3-Clause BSD License

Author Information

Michael Joseph Walsh mjwalsh@nemonik.com

About

Common Ansible role.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published