Skip to content

Commit

Permalink
Fix tree example in use case document (#3894)
Browse files Browse the repository at this point in the history
* fix tree

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
akira6592 and pre-commit-ci[bot] committed Apr 28, 2023
1 parent 400a3b7 commit 0d874bd
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions docs/examples.md
Expand Up @@ -279,9 +279,22 @@ platforms:
Molecule is generally used to test roles in isolation. However, it can
also test roles from a monolith repo.

> \$ tree monolith-repo -L 3 \--prune monolith-repo ├── library │   └──
> foo.py ├── plugins │   └── filters │   └── foo.py └── roles ├── bar
> │   └── README.md ├── baz │   └── README.md └── foo └── README.md
```bash
$ tree monolith-repo -L 3 --prune
monolith-repo
├── library
│ └── foo.py
├── plugins
│ └── filters
│ └── foo.py
└── roles
├── bar
│ └── README.md
├── baz
│ └── README.md
└── foo
└── README.md
```

The role initialized with Molecule (baz in this case) would simply
reference the dependent roles via it's `converge.yml` or meta
Expand Down

0 comments on commit 0d874bd

Please sign in to comment.