update
This commit is contained in:
parent
46fe41189c
commit
2cd1cf5afc
4 changed files with 37 additions and 0 deletions
11
ansible/scripts/configure_qemu.yml
Normal file
11
ansible/scripts/configure_qemu.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
- name: set default network
|
||||
shell: "{{ item }}"
|
||||
with_items:
|
||||
- "virsh net-start default"
|
||||
- "virsh net-autostart default"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: add user to libvirt
|
||||
user:
|
||||
name: user
|
||||
groups: libvirt,libvirt-qemu,kvm,input,disk
|
||||
|
|
@ -20,6 +20,14 @@
|
|||
- not homebrew_check.stat.exists
|
||||
- install_homebrew_if_missing
|
||||
|
||||
- name: Load Brew shellenv
|
||||
become_user: user
|
||||
shell: eval "$(/home/linuxbrew/.linuxbrew/bin brew shellenv)"
|
||||
when:
|
||||
- required_packages_brew is defined
|
||||
- not homebrew_check.stat.exists
|
||||
- install_homebrew_if_missing
|
||||
|
||||
- name: Install Brew Taps
|
||||
become_user: user
|
||||
community.general.homebrew_tap:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue