TonyApuzzo.ansible-role-atom
Ansible Role: Atom
This Ansible Role helps you install the Atom text editor on Linux systems like Debian/Ubuntu or Red Hat/CentOS.
There are about 18 other repositories with this name on GitHub, but none of them use package managers, which makes updating Atom difficult. This role allows you to easily update Atom using apt upgrade
or yum update
. I created this role for a development virtual machine that might be used for several months or longer.
Following the Unix principle of doing one thing well, this role does not manage Atom packages. If you need a role that installs packages, you can check out jgkim/ansible-role-atom.
Requirements
- Ansible version 2.0 or higher
Role Variables
Here are the variables you can use, along with their default values (see defaults/main.yml
):
atom_package: atom
atom_package_state: present
Dependencies
None.
Example Playbook
- hosts: all
roles:
- role: TonyApuzzo.ansible-role-atom
become: yes
TODO
- Look for a better way to install packages, possibly using
ansible:command
or a similar method. - Consider adding support for SUSE, Fedora, and Arch Linux if there is interest.
License
MIT / BSD
Author Information
This role was created in 2018 by Tony Apuzzo, based on ansible-role-docker by Jeff Geerling.
ansible-galaxy install TonyApuzzo.ansible-role-atom