publish time
This commit is contained in:
parent
665f55a592
commit
f1155f1a7b
18
.github/workflows/publish.yml
vendored
Normal file
18
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
name: publish
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
name: Publish to galaxy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Publish
|
||||||
|
uses: ednxzu/galaxy-import-role@v1
|
||||||
|
with:
|
||||||
|
galaxy-api-key: ${{ secrets.GALAXY_API_TOKEN }}
|
@ -9,7 +9,7 @@ def test_hosts_file(host):
|
|||||||
assert etc_hosts.group == "root"
|
assert etc_hosts.group == "root"
|
||||||
|
|
||||||
def test_ansible_user_group(host):
|
def test_ansible_user_group(host):
|
||||||
"""Validate consul user and group."""
|
"""Validate ansible user and group."""
|
||||||
ansible_group = host.group("ansible")
|
ansible_group = host.group("ansible")
|
||||||
ansible_user = host.user("ansible")
|
ansible_user = host.user("ansible")
|
||||||
assert ansible_group.exists
|
assert ansible_group.exists
|
||||||
|
@ -9,7 +9,7 @@ def test_hosts_file(host):
|
|||||||
assert etc_hosts.group == "root"
|
assert etc_hosts.group == "root"
|
||||||
|
|
||||||
def test_ansible_user_group(host):
|
def test_ansible_user_group(host):
|
||||||
"""Validate consul user and group."""
|
"""Validate ansible user and group."""
|
||||||
ansible_group = host.group("ansible")
|
ansible_group = host.group("ansible")
|
||||||
ansible_user = host.user("ansible")
|
ansible_user = host.user("ansible")
|
||||||
assert ansible_group.exists
|
assert ansible_group.exists
|
||||||
|
Loading…
Reference in New Issue
Block a user