dotfiles/.ansible/roles/linux_desktop/tasks/config.yaml

32 lines
646 B
YAML
Raw Normal View History

- name: Checkout some repositories for local config
tags:
- config
git:
repo: "{{ item.repo }}"
dest: "{{ item.dest }}"
2019-01-20 10:51:09 +00:00
loop: "{{ config_repos }}"
2019-01-20 10:14:18 +00:00
2019-02-25 19:32:49 +00:00
- name: 'Conky: Configuration'
2019-01-20 10:14:18 +00:00
tags:
- config
- conky
template:
2019-01-20 10:58:22 +00:00
src: 'templates/conkyrc.j2'
dest: '~/.conkyrc'
mode: '0600'
2019-02-25 19:32:49 +00:00
- name: 'Wireguard: Configuration template'
tags:
- config
- wireguard
block:
- stat:
path: /etc/wireguard/wg0.conf
register: wgconfig
- copy:
dest: /etc/wireguard/wg0.conf
src: files/wireguard.conf
mode: '0400'
when: wgconfig.stat.exists == False
become: true