diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 904a8e9..5183deb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python 3 uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "3.x" - name: Install yamllint run: pip3 install ansible-lint yamllint @@ -40,10 +40,14 @@ jobs: - name: Set up Python 3 uses: actions/setup-python@v4 with: - python-version: '3.x' + python-version: "3.x" - name: Install ansible and molecule - run: pip3 install ansible "ansible-compat<4" molecule-hetznercloud + run: > + pip3 install \ + ansible \ + molecule \ + https://github.com/jooola/molecule-hetznercloud/archive/main.zip # molecule-hetznercloud - uses: hetznercloud/tps-action@main with: @@ -53,6 +57,5 @@ jobs: run: | molecule test env: - TTS_TOKEN: ${{ secrets.TTS_TOKEN }} - PY_COLORS: '1' - ANSIBLE_FORCE_COLOR: '1' + PY_COLORS: "1" + ANSIBLE_FORCE_COLOR: "1" diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 45ad07f..eba2c01 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -5,11 +5,10 @@ dependency: name: galaxy driver: - name: hetznercloud + name: molecule_hetznercloud platforms: - name: ipxe-ca-default-jammy - server_type: cx11 image: ubuntu-22.04 location: fsn1 diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index b1c599d..88967a2 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -11,7 +11,7 @@ ansible.builtin.copy: src: "files/{{ item }}" dest: "/etc/ssl/private/{{ item }}" - mode: '0644' + mode: "0644" no_log: true loop: - ipxe.crt