From ab48d6ad9efd3ba936554b779883b8e85330509e Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Mon, 10 Apr 2023 18:14:53 +0200 Subject: [PATCH] publish time --- .github/workflows/publish.yml | 18 ++++++++++++++++++ README.md | 2 +- defaults/install_docker.yml.sample | 9 +++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml create mode 100644 defaults/install_docker.yml.sample 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/README.md b/README.md index d8b6859..d9d5976 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ This variable defines the parameters to append to the daemon.json file (in `/etc Dependencies ------------ -This role has a task that installs its own dependencies located in `task/prerequisites.yml`, so that you don't need to manage them. This role requires both `ednxzu.manage_repositories`, `ednxzu.manage_apt_packages` and `ednxzu.manage_apt_packages` to install docker and potentially python packages. +This role has a task that installs its own dependencies located in `task/prerequisites.yml`, so that you don't need to manage them. This role requires `ednxzu.manage_repositories`, `ednxzu.manage_apt_packages` and `ednxzu.manage_apt_packages` to install docker and potentially python packages. Example Playbook ---------------- diff --git a/defaults/install_docker.yml.sample b/defaults/install_docker.yml.sample new file mode 100644 index 0000000..b6bed11 --- /dev/null +++ b/defaults/install_docker.yml.sample @@ -0,0 +1,9 @@ +--- +# install_docker_edition: ce # can be ce or ee (community or enterprise) +# install_docker_start_service: true +# install_docker_compose: false +# install_docker_compose_version: latest +# install_docker_python_packages: false +# install_docker_python_packages_version: latest +# install_docker_users: [] +# install_docker_daemon_options: {}