Skip to content

Manages various operating system stuff for a shiny basis

License

Notifications You must be signed in to change notification settings

Allaman/ansible-role-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

This role configures several tasks at the OS level

  • installs a host file based (DNS) blocking based upon energized. The original hosts file is backed up to /etc/hosts.original and can be restored by running the role with hosts_pack: none again. Have a look at packs for an overview of available packs and their features.

  • allows sudo permissions without password

  • configures Thinkpad related settings

Test

Run molecule test to test this role via docker

Requirements

  • Sudo permission

ansible-role-system

Variable Description default
hosts_pack if and which hosts pack to use from energized false
thinkpad Thinkpad specific settings false
sudo_without_password Allow sudo withput password false

Dependencies

No dependencies

Example Playbook

See converge.yaml

License

MIT