Compare commits

...

1 Commits
main ... tmp

Author SHA1 Message Date
3a06941cc1 testing 2023-06-13 23:56:12 -04:00
4 changed files with 6 additions and 16 deletions

1
Vagrantfile vendored
View File

@ -46,5 +46,6 @@ Vagrant.configure("2") do |config|
ENV['ANSIBLE_ROLES_PATH'] = File.dirname(__FILE__) + "/roles" ENV['ANSIBLE_ROLES_PATH'] = File.dirname(__FILE__) + "/roles"
ansible.compatibility_mode = "2.0" ansible.compatibility_mode = "2.0"
ansible.playbook = "site-vagrant.yml" ansible.playbook = "site-vagrant.yml"
ansible.raw_arguments = ["--diff"]
end end
end end

View File

@ -9,8 +9,12 @@ packages:
# Virtualization # Virtualization
- qemu-system - qemu-system
- vagrant-libvirt
- libvirt-daemon-system - libvirt-daemon-system
- vagrant-libvirt
- virt-manager
# Configuration management
- ansible
users: users:
- name: vagrant - name: vagrant

View File

@ -46,11 +46,3 @@
dest: "{{ homedir }}/.config/autostart-scripts/pinnedapps.sh" dest: "{{ homedir }}/.config/autostart-scripts/pinnedapps.sh"
mode: a+x mode: a+x
loop: "{{ users }}" 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 }}"

View File

@ -14,10 +14,3 @@
create_home: "{{ item.home | default(false) }}" create_home: "{{ item.home | default(false) }}"
loop: "{{ users }}" loop: "{{ users }}"
when: users is defined 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 }}"