---
image: docker:git

services:
  - docker:dind

before_script:
  - apk update && apk add --no-cache openrc docker python3-dev py3-pip gcc git curl build-base autoconf automake py3-cryptography linux-headers musl-dev libffi-dev openssl-dev openssh
  - rc-service docker start
  - docker info
  - python3 --version
  - pip3 install ansible molecule docker 'molecule[docker]'
  - ansible --version

molecule:
  stage: test
  script:
    - molecule test

---
image: docker:git

services:
  - docker:dind

before_script:
  - apk update && apk add --no-cache openrc docker python3-dev py3-pip gcc git curl build-base autoconf automake py3-cryptography linux-headers musl-dev libffi-dev openssl-dev openssh
  - docker info
  - python3 --version
  - pip3 install ansible molecule docker 'molecule[docker]'
  - ansible --version

molecule:
  stage: test
  script:
    - molecule test

Remove service start of already starting service
Remove service start of already starting service
