From fa02e915829a8e8f8ee9070fecbe1f2239ab058f Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 15 Apr 2024 16:18:56 +0200 Subject: [PATCH] Update molecule config --- slococo/playground/molecule/default/converge.yml | 6 ++++-- slococo/playground/molecule/default/molecule.yml | 2 +- slococo/playground/playbooks/main.yml | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/slococo/playground/molecule/default/converge.yml b/slococo/playground/molecule/default/converge.yml index eb815c7..d4db277 100644 --- a/slococo/playground/molecule/default/converge.yml +++ b/slococo/playground/molecule/default/converge.yml @@ -5,10 +5,11 @@ pre_tasks: - name: Update the apt cache - ansible.builtin.dnf: + ansible.builtin.apt: + update_cache: true name: - - openssh - openssh-server + - openssh-client - name: Stop and Start ssh ansible.builtin.service: @@ -28,3 +29,4 @@ userid: 38000088 expiry_date: '2024-12-31' passwordless: true + local_accounts_pk_path: /Users/slococo/.cache diff --git a/slococo/playground/molecule/default/molecule.yml b/slococo/playground/molecule/default/molecule.yml index e78f285..741cd63 100644 --- a/slococo/playground/molecule/default/molecule.yml +++ b/slococo/playground/molecule/default/molecule.yml @@ -7,7 +7,7 @@ driver: name: docker platforms: - name: instance - image: "docker.io/geerlingguy/docker-rockylinux8-ansible:latest" + image: "docker.io/geerlingguy/docker-debian11-ansible:latest" command: ${MOLECULE_DOCKER_COMMAND:-""} volumes: - /sys/fs/cgroup:/sys/fs/cgroup:rw diff --git a/slococo/playground/playbooks/main.yml b/slococo/playground/playbooks/main.yml index c79f118..75b847a 100644 --- a/slococo/playground/playbooks/main.yml +++ b/slococo/playground/playbooks/main.yml @@ -16,4 +16,3 @@ userid: 38000088 expiry_date: '2024-12-31' passwordless: true - local_accounts_pk_path: /Users/slococo/keys/