Skip to content

Commit

Permalink
Some updated docs, bumping to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wzzrd committed Feb 24, 2024
1 parent a25acf5 commit e129008
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ This role is used in the following way in a playbook:

- hosts: atuin_clients
vars:
atuin_client_users:
- johnc
- joeb
atuin_client_version: 18.0.1

roles:
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace: wzzrd
name: atuin

# The version of the collection. Must be compatible with semantic versioning
version: "2.0.0"
version: "2.0.1"

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
10 changes: 10 additions & 0 deletions roles/atuin_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,20 @@ Role Variables
| atuin_client_version | None | Version of atuin to install | true |
| atuin_client_bin_dir | /usr/local/bin | Location for the atuin binary | false |
| atuin_client_libc_variant | gnu | Which libc implementation to download a binary for | false |
| atuin_client_users | None | List of users to create a configuration file for | false |

The `atuin_client_libc_variant` expects one of two options: musl or gnu. Choosing gnu will make the role download the atuin binary compiled for an OS with a recent build of glibc. Choosing musl will download a binary compiled and statically linked to the musl libc implementation. This allows you to run atuin on systems with incompatible versions of glibc.

Mind that the musl build (at the time of writing) is only available for x86_64 Linux. Trying to install that build on aarch64 Linux will not work.

The only resort in that case is to use cargo to install atuin. I might implement that in a future version of this role.

The `atuin_client_users` variable can be used to pass a list of usernames to the role.
The role will iterate over this list and create a configuration file based for each
user. This configuration file is based on the values provided to this role and the
contents of `templates/config.toml.j2`. If the user changes this file, subsequent runs
of this role will *not* overwrite it.

Please see the `defaults/main.yml` file for the other configurable variables, their
default values and an explanation of what they are for.

Expand All @@ -48,6 +55,9 @@ This role is used in the following way in a playbook:
```yaml
- hosts: atuin_clients
vars:
atuin_client_users:
- johnc
- joeb
atuin_client_version: 18.0.1

roles:
Expand Down

0 comments on commit e129008

Please sign in to comment.