diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 5f31d27..13077fb 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -14,5 +14,6 @@ jobs: name: Ansible Lint runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: Run ansible-lint uses: ansible/ansible-lint@main diff --git a/README.md b/README.md index 146edd3..f817a8e 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,9 @@ Ansible management for my Raspberry Pis . ## Features -- [Docker](https://www.docker.com/) -- [Portainer](https://www.portainer.io/) +- [ ] [Docker](https://www.docker.com/) +- [ ] [Portainer](https://www.portainer.io/) +- [ ] DNS ? ## Execute playbook diff --git a/playbook.yml b/playbook.yml index d3e4164..0c33952 100644 --- a/playbook.yml +++ b/playbook.yml @@ -30,6 +30,13 @@ groups: "docker" append: true + - name: Install docker-compose from official github repo + ansible.builtin.get_url: + url: https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64 + dest: /usr/local/bin/docker-compose + mode: "u+x,g+x" + + # https://docs.ansible.com/ansible/latest/collections/community/docker/docker_container_module.html#ansible-collections-community-docker-docker-container-module - name: Create portainer container community.docker.docker_container: name: portainer