testing
This commit is contained in:
parent
f68117d9a0
commit
3a06941cc1
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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 }}"
|
|
||||||
|
@ -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 }}"
|
|
Loading…
Reference in New Issue
Block a user