diff --git a/collections/ansible_collections/nullified/infrastructure/roles/development/defaults/main.yml b/collections/ansible_collections/nullified/infrastructure/roles/development/defaults/main.yml index e892116..74563f4 100644 --- a/collections/ansible_collections/nullified/infrastructure/roles/development/defaults/main.yml +++ b/collections/ansible_collections/nullified/infrastructure/roles/development/defaults/main.yml @@ -7,3 +7,4 @@ development_rust_enabled: true development_docker_remap_user: "{{ development_user_account }}" development_docker_remap_group: "{{ development_user_account }}" development_docker_systemd_slice: docker.slice +development_virtualbox_enabled: false diff --git a/collections/ansible_collections/nullified/infrastructure/roles/development/tasks/main.yml b/collections/ansible_collections/nullified/infrastructure/roles/development/tasks/main.yml index 73e356f..cd502f0 100644 --- a/collections/ansible_collections/nullified/infrastructure/roles/development/tasks/main.yml +++ b/collections/ansible_collections/nullified/infrastructure/roles/development/tasks/main.yml @@ -167,6 +167,7 @@ - name: '[vbox] install Virtualbox' become: true + when: development_virtualbox_enabled is truthy block: - name: '[vbox] add repository key' ansible.builtin.get_url: