-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from MonolithProjects/develop
- Added better way to uninstall runner - Added option to use custom name for the runner
- Loading branch information
Showing
20 changed files
with
215 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: molecule lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- feature/* | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
path: "${{ github.repository }}" | ||
- name: Molecule for Ansible - lint | ||
uses: MonolithProjects/action-molecule@v1.4.0 | ||
with: | ||
molecule_command: lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
- name: Cleanup | ||
user: ansible | ||
hosts: all | ||
become: yes | ||
vars: | ||
- runner_user: ansible | ||
- github_repo: ansible-github_actions_runner-testrepo | ||
- github_account: monolithprojects | ||
- runner_state: absent | ||
roles: | ||
- ansible-github_actions_runner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,27 @@ | ||
--- | ||
- name: Converge | ||
- name: Install | ||
user: ansible | ||
hosts: all | ||
become: yes | ||
vars: | ||
- runner_user: ansible | ||
- github_repo: ansible-github_actions_runner-testrepo | ||
- github_account: monolithprojects | ||
- runner_version: "latest" | ||
roles: | ||
- robertdebock.epel | ||
- ansible-github_actions_runner | ||
|
||
- name: Reinstall | ||
user: ansible | ||
hosts: all | ||
become: yes | ||
vars: | ||
- runner_user: ansible | ||
- github_repo: ansible-github_actions_runner-testrepo | ||
- github_account: monolithprojects | ||
- reinstall_runner: yes | ||
- runner_version: "latest" | ||
roles: | ||
- robertdebock.epel | ||
- ansible-github_actions_runner |
Oops, something went wrong.