From: Christian Heller Date: Wed, 4 Apr 2018 22:22:05 +0000 (+0200) Subject: Fix Ansible config. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/cards/%7B%7Bcard_id%7D%7D/foo.html?a=commitdiff_plain;h=fea8c4eaacc5fa0b819bf9fd4f5a87c14252b130;p=config Fix Ansible config. --- 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/ *#.*$//'