Skip to content

Oefenweb/ansible-top

Repository files navigation

top

CI Ansible Galaxy

Set up top in Debian-like systems.

Requirements

None

Variables

  • top_toprc_destinations: [default: {skell: dest: /etc/skel, current: dest: "{{ ansible_facts['env']['HOME'] }}"}]: Destinations to copy the toprc file to

  • top_toprc_destinations.key: The identifier of the file (e.g. skel)

  • top_toprc_destinations.key.dest: The remote path of the file to copy (e.g. /etc/skel, /home/bar/.config/procps/toprc (for newer versions op top))

  • top_toprc_destinations.key.owner: The name of the user that should own the file (optional, default root)

  • top_toprc_destinations.key.group: The name of the group that should own the file (optional, default owner, then root)

  • top_toprc_destinations.key.mode: The mode of the file, such as 0644 (optional, default 0644)

  • top_replace_toprc: [default: true]: Whether to overwrite existing toprc files

Dependencies

None

Example

---
- hosts: all
  roles:
    - oefenweb.top

License

MIT

Author Information

Mischa ter Smitten

Feedback, bug-reports, requests, ...

Are welcome!

About

Ansible role to set up top in Debian-like systems

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors