Skip to content

AndrewGodGivens/ansible_server_common

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbog/server_common

Role to manage common server settings, like:

  • dns hostname
  • default packages list
  • users list

Requirements

Ansible 2.4

Role Variables

You can see all vars in defaults/main.yml vars file.

You can override defaults by setting your own data in group_vars or host_vars by overriding the whole dict or just setting some data of it - it will be merged with defaults anyway. server_common_host there have a precedence over server_common_group which has precedence over default values.

Dependencies

None

Example Playbook

- name: Do common things on server
  hosts: localhost
  remote_user: root
  roles:
    - { role: server_common, tags: ['common'] }

License

Apache 2.0

Author Information

This role was created by Stan Bogatkin.

About

Ansible role to manage common data on server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 54.5%
  • Ruby 45.5%