diff --git a/Vagrantfile b/Vagrantfile index baf9cda..5857d47 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -46,5 +46,6 @@ Vagrant.configure("2") do |config| ENV['ANSIBLE_ROLES_PATH'] = File.dirname(__FILE__) + "/roles" ansible.compatibility_mode = "2.0" ansible.playbook = "site-vagrant.yml" + ansible.raw_arguments = ["--diff"] end end diff --git a/inventory.yml b/inventory.yml index 20e4b41..f395832 100644 --- a/inventory.yml +++ b/inventory.yml @@ -9,8 +9,12 @@ packages: # Virtualization - qemu-system - - vagrant-libvirt - libvirt-daemon-system + - vagrant-libvirt + - virt-manager + + # Configuration management + - ansible users: - name: vagrant diff --git a/roles/common/tasks/gui.yml b/roles/common/tasks/gui.yml index 1f6e5b8..2852bff 100644 --- a/roles/common/tasks/gui.yml +++ b/roles/common/tasks/gui.yml @@ -23,11 +23,6 @@ fi loop: "{{ users }}" -- name: Install packages - ansible.builtin.apt: - name: "{{ item }}" - loop: "{{ packages }}" - - name: Install sqlite3 ansible.builtin.apt: name: sqlite3 @@ -46,11 +41,3 @@ dest: "{{ homedir }}/.config/autostart-scripts/pinnedapps.sh" mode: a+x loop: "{{ users }}" - -- name: Ensure we have our own comment added to /etc/services - ansible.builtin.lineinfile: - path: "{{ homedir }}/.config/autostart-scripts/pinnedapps.sh" - regexp: '^# port for http' - insertbefore: '^www.*80/tcp' - line: '# port for http by default' - loop: "{{ users }}" diff --git a/roles/common/tasks/system.yml b/roles/common/tasks/system.yml index db86f59..b342cf3 100644 --- a/roles/common/tasks/system.yml +++ b/roles/common/tasks/system.yml @@ -14,10 +14,3 @@ create_home: "{{ item.home | default(false) }}" loop: "{{ users }}" when: users is defined - -- name: Change favorites menu - ansible.builtin.template: - src: favorites.sh.j2 - dest: "{{ homedir }}/.config/autostart-scripts/favorites.sh" - mode: a+x - loop: "{{ users }}" \ No newline at end of file