diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..784f2c9 --- /dev/null +++ b/.github/workflows/publish.yml @@ -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 }} diff --git a/molecule/default/tests/test_default.py b/molecule/default/tests/test_default.py index 05368c9..1e86e9f 100644 --- a/molecule/default/tests/test_default.py +++ b/molecule/default/tests/test_default.py @@ -9,7 +9,7 @@ def test_hosts_file(host): assert etc_hosts.group == "root" def test_ansible_user_group(host): - """Validate consul user and group.""" + """Validate ansible user and group.""" ansible_group = host.group("ansible") ansible_user = host.user("ansible") assert ansible_group.exists diff --git a/molecule/with_ssh_keys/tests/test_default.py b/molecule/with_ssh_keys/tests/test_default.py index 283d2da..2d79ae7 100644 --- a/molecule/with_ssh_keys/tests/test_default.py +++ b/molecule/with_ssh_keys/tests/test_default.py @@ -9,7 +9,7 @@ def test_hosts_file(host): assert etc_hosts.group == "root" def test_ansible_user_group(host): - """Validate consul user and group.""" + """Validate ansible user and group.""" ansible_group = host.group("ansible") ansible_user = host.user("ansible") assert ansible_group.exists