Skip to content

Commit

Permalink
docs: fix usage of the packages field in apt
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Feb 13, 2024
1 parent 7671979 commit 4473c67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/articles/en/built-in-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ The following specific fields are available:
- git
```
In the context of this module, this directive also supports the `packages` and `paths` fields. The `packages` field is a list of package names to install, while the `paths` field is a list of paths to files containing package names each on a new line:
In the context of this module, this directive also supports the `packages` and `paths` fields. The `packages` field is a list of package names to install, while the `paths` field is a list of paths to `.inst` files containing package names each on a new line:

```yaml
- name: install-utils
type: apt
source:
paths:
- "./utils"
- "./more-utils"
- "./utils.inst"
- "./more-utils.inst"
```

where `utils` and `more-utils` follow the format:
where `utils.inst` and `more-utils.inst` follow the format:

```plaintext
curl
Expand Down

0 comments on commit 4473c67

Please sign in to comment.