add more to readme
This commit is contained in:
37
README.md
37
README.md
@@ -13,14 +13,25 @@ special handling.
|
||||
Order of precedence for package installation:
|
||||
|
||||
1. System package manager (dnf, apt, homebrew, etc.)
|
||||
2. Appimage (Linux only)
|
||||
3. Flatpak (Linux only)
|
||||
4. Snap (Linux only), takes precedence over flatpak on Ubuntu based systems
|
||||
5. Language package manager (`cargo install`, `go install`, `npm install`, etc.)
|
||||
6. Build and install from source
|
||||
2. Source built - only in some situations, like for fast moving software (neovim)
|
||||
3. Appimage (Linux only)
|
||||
4. Flatpak (Linux only)
|
||||
5. Snap (Linux only), takes precedence over flatpak on Ubuntu based systems
|
||||
6. Language package manager (`cargo install`, `go install`, `npm install`, etc.)
|
||||
|
||||
_This does not configure installed software, just installs it_
|
||||
|
||||
To install any of the available packages, they must be part of a list called
|
||||
`packages`. Dependencies are handled on a best case basis.
|
||||
|
||||
## Supported Operating Systems
|
||||
|
||||
- Fedora Linux
|
||||
- MacOS
|
||||
- RHEL based distributions *Experimental* *best effort*
|
||||
- Debian *Experimental*
|
||||
- Alpine linux *Experimental* *best effort)
|
||||
|
||||
## Available Packages
|
||||
|
||||
- air: hot reload for go #devtools #go
|
||||
@@ -180,9 +191,23 @@ _This does not configure installed software, just installs it_
|
||||
|
||||
## Dependencies
|
||||
|
||||
|
||||
## Example Playbook
|
||||
|
||||
```yaml
|
||||
- name: Ensure packages are installed
|
||||
vars:
|
||||
packages:
|
||||
- air
|
||||
- go
|
||||
- rust
|
||||
- neovim
|
||||
hosts: devmachines
|
||||
gather_facts: true
|
||||
tasks:
|
||||
- name: Install given packages
|
||||
ansible.builtin.inlude_role:
|
||||
name: ansible_role_package
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user