feat!(molecule): switch from docker to vagrant to test system related roles like firewall

This commit is contained in:
NaeiKinDus 2023-12-25 00:00:00 +00:00
parent 639b01c351
commit d25d077253
Signed by: WoodSmellParticle
GPG key ID: 8E52ADFF7CA8AE56
8 changed files with 123 additions and 113 deletions

View file

@ -52,6 +52,15 @@
- libsecret-1-0 # draw.io
- libssl-dev
- libtool
- libvirt0
- libvirt-clients
- libvirt-clients-qemu
- libvirt-daemon
- libvirt-daemon-config-network
- libvirt-daemon-driver-lxc
- libvirt-daemon-driver-vbox
- libvirt-daemon-system
- libvirt-daemon-system-systemd
- libxss1 # draw.io
- libxtst6 # draw.io
- linux-headers-amd64
@ -277,13 +286,6 @@
when: development.docker.userns is truthy
notify:
- 'development : [docker] restart service'
- name: '[docker] add default user to docker group'
ansible.builtin.user:
name: "{{ development.user_account }}"
append: true
groups: docker
state: present
notify:
- 'development : [docker] restart service'
@ -388,3 +390,15 @@
script:
cmd: /tmp/rustup.sh -qy
creates: "{{ ansible_facts['getent_passwd'][development.user_account][4] }}/.cargo/bin/rustc"
- name: '[user] add default user to groups'
become: true
ansible.builtin.user:
name: "{{ development.user_account }}"
append: true
groups:
- docker
- kvm
- libvirt
- libvirt-qemu
state: present