Skip to content

Commit

Permalink
Merge pull request #10 from rwxd/init
Browse files Browse the repository at this point in the history
docs(readme): installation instructions
  • Loading branch information
rwxd authored Jul 2, 2022
2 parents 9e47af7 + 50f9bff commit 644075d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ Creates subuid & subgid mappings for users.

Inspired from this blog article <https://eengstrom.github.io/musings/generate-non-contiguous-subuid-subgid-maps-for-rootless-podman>

## Install

`roles/requirements.yml`

```bash
---
roles:
- name: subuid_subgid
version: v1.0.2
src: git@github.com:rwxd/ansible-role-subuid_subgid.git
scm: git
```

`ansible.cfg`

```bash
[defaults]
roles_path=./roles
```

Get requirements with `ansible-galaxy role install -r roles/requirements.yml`

## Usage

A `subid_users` variable is required e.g.:
Expand Down

0 comments on commit 644075d

Please # to comment.