Skip to content

Commit 7cf3a4c

Browse files
Added scenario option
1 parent fab5ec9 commit 7cf3a4c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ This GitHub Action is small, multi stage built, Alpine Linux 3.12 based Docker i
3434
description: |
3535
Run molecule converge with ansible-playbook arguments ( Same like: molecule converge -- --tags foo,bar --extra_vars "my_var=true").
3636
required: false
37+
scenario:
38+
description: |
39+
Run specific Molecule Scenario
40+
required: false
3741
```
3842
3943
## Usage
@@ -60,7 +64,7 @@ jobs:
6064

6165
### Ansible-playbook arguments
6266

63-
In this case the GitHub Action will run `molecule converge -- <extra arguments for ansible-playbook>`:
67+
In this case the GitHub Action will run `molecule converge -s special_scenario -- --tags foo,bar --extra_vars "my_var=true"`:
6468

6569
```yaml
6670
on: push
@@ -76,5 +80,6 @@ jobs:
7680
uses: monolithprojects/action-molecule@v1.3.0
7781
with:
7882
molecule_command: converge
83+
scenario: special_scenario
7984
converge_extra_args: --tags foo,bar --extra_vars "my_var=true"
8085
```

0 commit comments

Comments
 (0)