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 c3abb76 commit 3cf37c4
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 @@ -16,31 +16,19 @@ platforms:
networks:
- name: 'test-ag-nftablesaddons'
ipv4_address: '192.168.14.1'

# 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-nftablesaddons-cron
networks:
- name: 'test-ag-nftablesaddons'
ipv4_address: '192.168.14.2'

# 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 @@ -22,11 +22,6 @@
hosts: all
gather_facts: false
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', 'nftables']
Expand Down

0 comments on commit 3cf37c4

Please sign in to comment.