From: Christian Heller Date: Sat, 15 Apr 2017 21:08:13 +0000 (+0200) Subject: Fix wicd config file setting. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdb.prefix%7D%7D/static/blog?a=commitdiff_plain;h=be1275dfcec664b6e53833ccea481d1255e4c4d1;p=config Fix wicd config file setting. --- diff --git a/ansible/config.yml b/ansible/config.yml index f2cb77e..fa4fadf 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -4,6 +4,9 @@ become: yes tasks: + - name: ensure directories for symlinks exist + file: state=directory dest={{item}} + with_lines: cat ~/config/ansible/files/dirs | sed -e 's/ *#.*$//' - name: symlink system files file: state=hard force=yes src={{item}} dest={{item|basename|regex_replace('___','/')}} with_fileglob: ~/config/ansible/files/system/* @@ -50,7 +53,7 @@ with_lines: cat ~/config/ansible/files/apt-mark/man | sed -e 's/ *#.*$//' - name: set /etc/localtime file: state=link force=yes src=/usr/share/zoneinfo/Europe/Berlin dest=/etc/localtime - - name: ensure various useful tools are installed – sudo, git, vim, less, openssh, alsamixer + - name: ensure various useful tools are installed – sudo, git, vim, less, openssh apt: name={{item}} state=present with_lines: cat ~/config/ansible/files/apt-mark/various_useful | sed -e 's/ *#.*$//' - name: ensure boot messages are not cleared on start up diff --git a/ansible/files/dirs b/ansible/files/dirs new file mode 100644 index 0000000..0739bb8 --- /dev/null +++ b/ansible/files/dirs @@ -0,0 +1 @@ +/etc/wicd