Skip to content

Commit

Permalink
updated molecule docker-image
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed May 4, 2024
1 parent f335c25 commit 3929c0e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 33 deletions.
14 changes: 0 additions & 14 deletions molecule/default/Dockerfile_debian12_systemd.j2

This file was deleted.

16 changes: 2 additions & 14 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,20 @@ platforms:
- name: 'test-ag-nftables'
ipv4_address: '192.168.9.1'
groups: [grp_targets]

# docker config
docker_host: 'tcp://molecule-docker.local:2375'
purge_networks: true
image: 'debian:12-slim'
dockerfile: 'Dockerfile_debian12_systemd.j2'
build_image: yes
image: 'ansible0guy/molecule:debian-latest'
tmpfs: ['/tmp', '/run', '/run/lock']
privileged: true
command: '/sbin/init'

- name: test-ag-nftables-1
networks:
- name: 'test-ag-nftables'
ipv4_address: '192.168.9.2'
groups: [grp_targets]

# docker config
docker_host: 'tcp://molecule-docker.local:2375'
purge_networks: true
image: 'debian:12-slim'
dockerfile: 'Dockerfile_debian12_systemd.j2'
build_image: yes
image: 'ansible0guy/molecule:debian-latest'
tmpfs: ['/tmp', '/run', '/run/lock']
privileged: true
command: '/sbin/init'

provisioner:
name: ansible
Expand Down
5 changes: 0 additions & 5 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
- name: Prepare
hosts: all
tasks:
- name: Installing troubleshooting utils
ansible.builtin.apt:
name: ['less', 'nano', 'net-tools', 'dnsutils', 'iproute2']
state: present

- name: Installing Role dependencies
ansible.builtin.apt:
name: ['kmod']
Expand Down

0 comments on commit 3929c0e

Please sign in to comment.