Revert workflow. Search role name with ansible

This commit is contained in:
2021-05-02 21:35:17 +12:00
parent 83fc67c34a
commit 8f5db723f6
2 changed files with 2 additions and 6 deletions

View File

@@ -15,11 +15,7 @@ jobs:
steps:
- name: Checout Source
uses: actions/checkout@v1
- name: Rename role
run: |
mv /home/runner/work/ansible-role-repo-epel/ansible-role-repo-epel \
/home/runner/work/ansible-role-repo-epel/repo-epel
- name: Set up Python 3
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'

View File

@@ -4,4 +4,4 @@
tasks:
- name: "Include repo-epel"
include_role:
name: "repo-epel"
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"