@@ -6,7 +6,7 @@
- name: Fail if {{ topdir_path }}/.config is not present
fail:
- msg: "You have not configured kdevops yet, configure kdevops first."
+ msg: "kdevops is not confgured. You must run 'make menuconfig'"
when: not config_file.stat.exists or not config_file.stat.isreg
tags: [ 'config-check' ]
@@ -63,7 +63,10 @@
- name: Fail if dnsmasq configuration files exist
fail:
- msg: "dnsmasq configuration files or directories still exist. Please remove the following to fully uninstall dnsmasq:\n{{ dnsmasq_config_files | join('\n') }}"
+ msg: |
+ dnsmasq configuration files or directories still exist.
+ Please remove the following to fully uninstall
+ dnsmasq:\n{{ dnsmasq_config_files | join('\n') }}
when:
- distro_debian_based|bool
- dnsmasq_config_files.results | selectattr('stat.exists') | list | length > 0
@@ -95,7 +98,12 @@
- name: Fail if dnsmasq service is enabled or active
fail:
- msg: "dnsmasq service is {{ 'enabled' if dnsmasq_enabled.rc == 0 else 'active' if dnsmasq_active.rc == 0 else 'present' }}. Please ensure dnsmasq is fully uninstalled and disabled. Run 'sudo systemctl disable dnsmasq' and 'sudo systemctl stop dnsmasq' to disable and stop the service."
+ msg: |
+ dnsmasq service is
+ {{ 'enabled' if dnsmasq_enabled.rc == 0 else 'active' if dnsmasq_active.rc == 0 else 'present' }}.
+ Please ensure dnsmasq is fully uninstalled and disabled.
+ Run 'sudo systemctl disable dnsmasq' and 'sudo systemctl
+ stop dnsmasq' to disable and stop the service.
when:
- distro_debian_based|bool
- dnsmasq_config_files | length > 0
Signed-off-by: Joel Granados <joel.granados@kernel.org> --- playbooks/roles/bringup_guestfs/tasks/main.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-)