-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from stackhpc/libvirt-config
TCP/TLS, libvirtd.conf, qemu.conf, additional packages
- Loading branch information
Showing
16 changed files
with
307 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,29 @@ | ||
--- | ||
- include: prelude.yml | ||
- include: validate.yml | ||
- include: install-daemon.yml | ||
- import_tasks: prelude.yml | ||
- import_tasks: validate.yml | ||
- name: Include install-daemon.yml | ||
include_tasks: install-daemon.yml | ||
when: libvirt_host_install_daemon | bool | ||
- include: install-client.yml | ||
- name: Include install-client.yml | ||
include_tasks: install-client.yml | ||
when: | ||
- not libvirt_host_install_daemon | bool | ||
- libvirt_host_install_client | bool | ||
- name: Run post-install stage | ||
include: "{{ post_install_path }}" | ||
include_tasks: "{{ post_install_path }}" | ||
with_first_found: | ||
- files: | ||
- post-install-{{ ansible_facts.distribution }}.yml | ||
- post-install-{{ ansible_facts.os_family }}.yml | ||
skip: true | ||
loop_control: | ||
loop_var: post_install_path | ||
- include: config.yml | ||
- name: Include config.yml | ||
include_tasks: config.yml | ||
when: libvirt_host_install_daemon | bool | ||
- include: pools.yml | ||
- include: networks.yml | ||
- name: Include pools.yml | ||
include_tasks: pools.yml | ||
when: libvirt_host_pools | length > 0 | ||
- name: Include networks.yml | ||
include_tasks: networks.yml | ||
when: libvirt_host_networks | length > 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# {{ ansible_managed }} | ||
{% if libvirt_host_socket_dir | length > 0 %} | ||
unix_sock_dir = "{{ libvirt_host_socket_dir }}" | ||
{% endif %} | ||
{% for key, value in libvirt_host_libvirtd_conf.items() %} | ||
{# While the value is not JSON formatted, it is close enough - strings need to be double quoted. #} | ||
{{ key }} = {{ value | to_json }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# {{ ansible_managed }} | ||
{% for key, value in libvirt_host_qemu_conf.items() %} | ||
{# While the value is not JSON formatted, it is close enough - strings need to be double quoted. #} | ||
{{ key }} = {{ value | to_json }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# {{ ansible_managed }} | ||
[Socket] | ||
ListenStream= | ||
ListenStream={{ _libvirt_listen_stream }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.