aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/debian/tasks/resolved.yml2
-rw-r--r--roles/fedora/tasks/dnf.yml2
-rw-r--r--roles/fedora/tasks/resolved.yml2
3 files changed, 3 insertions, 3 deletions
diff --git a/roles/debian/tasks/resolved.yml b/roles/debian/tasks/resolved.yml
index 263f93d..0190c77 100644
--- a/roles/debian/tasks/resolved.yml
+++ b/roles/debian/tasks/resolved.yml
@@ -19,7 +19,7 @@
state: "{{ use_resolved|ternary('started','stopped') }}"
when: not chroot
- name: '- when in chroot'
- command: 'systemctl {{ use_resolved|ternary("enable","disable") }} systemd-resolved.service'
+ command: "systemctl {{ use_resolved|ternary('enable','disable') }} systemd-resolved.service"
when: chroot
- name: Symlink /etc/resolv.conf
diff --git a/roles/fedora/tasks/dnf.yml b/roles/fedora/tasks/dnf.yml
index 4a3e623..e1c621f 100644
--- a/roles/fedora/tasks/dnf.yml
+++ b/roles/fedora/tasks/dnf.yml
@@ -40,7 +40,7 @@
state: "{{ dnf_makecache|ternary('started','stopped') }}"
when: not chroot
- name: '- when in chroot'
- command: 'systemctl {{ dnf_makecache|ternary("enable","disable") }} dnf-makecache.timer'
+ command: "systemctl {{ dnf_makecache|ternary('enable','disable') }} dnf-makecache.timer"
when: chroot
# vim: set ts=2 sw=2 et:
diff --git a/roles/fedora/tasks/resolved.yml b/roles/fedora/tasks/resolved.yml
index 263f93d..0190c77 100644
--- a/roles/fedora/tasks/resolved.yml
+++ b/roles/fedora/tasks/resolved.yml
@@ -19,7 +19,7 @@
state: "{{ use_resolved|ternary('started','stopped') }}"
when: not chroot
- name: '- when in chroot'
- command: 'systemctl {{ use_resolved|ternary("enable","disable") }} systemd-resolved.service'
+ command: "systemctl {{ use_resolved|ternary('enable','disable') }} systemd-resolved.service"
when: chroot
- name: Symlink /etc/resolv.conf