From fea8c4eaacc5fa0b819bf9fd4f5a87c14252b130 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 5 Apr 2018 00:22:05 +0200 Subject: [PATCH] Fix Ansible config. --- ansible/config_new.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ansible/config_new.yml b/ansible/config_new.yml index 571bf1a..46a2b3e 100644 --- a/ansible/config_new.yml +++ b/ansible/config_new.yml @@ -28,8 +28,9 @@ # Ensure power management. - name: ensure power management tools are installed apt: name={{item}} state=present - with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/power_management | sed -e 's/ *#.*$//' - with_lines: cat ~/config/ansible/files/apt-mark_new/X200s/power_management | sed -e 's/ *#.*$//' + with_lines: + - cat ~/config/ansible/files/apt-mark_new/minimal/power_management | sed -e 's/ *#.*$//' + - cat ~/config/ansible/files/apt-mark_new/X200s/power_management | sed -e 's/ *#.*$//' - name: start TLP shell: tlp start @@ -102,8 +103,9 @@ # Ensure wifi. - name: ensure wifi configuration apt: name={{item}} state=present - with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/wifi | sed -e 's/ *#.*$//' - with_lines: cat ~/config/ansible/files/apt-mark_new/X200s/wifi | sed -e 's/ *#.*$//' + with_lines: + - cat ~/config/ansible/files/apt-mark_new/minimal/wifi | sed -e 's/ *#.*$//' + - cat ~/config/ansible/files/apt-mark_new/X200s/wifi | sed -e 's/ *#.*$//' #- name: ensure wicd # apt: name={{item}} state=present # with_lines: cat ~/config/ansible/files/apt-mark_new/W530/wicd | sed -e 's/ *#.*$//' -- 2.30.2