summaryrefslogtreecommitdiff
path: root/roles/tools
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-11 18:29:10 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-11 18:42:46 +0100
commit379fbe46b77c84a419a0b438b088e65b76406c73 (patch)
tree35c548242c22c61d24b3f91a842362631ef65089 /roles/tools
parentf713a12c475c3e405de0c3a474dc1af3b892b154 (diff)
downloadAnsible-379fbe46b77c84a419a0b438b088e65b76406c73.tar.gz
Ansible-379fbe46b77c84a419a0b438b088e65b76406c73.tar.zst
Ansible-379fbe46b77c84a419a0b438b088e65b76406c73.zip
Add wget configuration
Diffstat (limited to 'roles/tools')
-rw-r--r--roles/tools/tasks/main.yml6
-rw-r--r--roles/tools/templates/wgetrc.j21
2 files changed, 7 insertions, 0 deletions
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml
index 3fa7d35..9c540d5 100644
--- a/roles/tools/tasks/main.yml
+++ b/roles/tools/tasks/main.yml
@@ -12,6 +12,12 @@
12 loop: 12 loop:
13 - htop/htoprc 13 - htop/htoprc
14 - mplayer/config 14 - mplayer/config
15- name: template config files
16 template:
17 src: "{{ item }}.j2"
18 dest: "$XDG_CONFIG_HOME/{{ item }}"
19 loop:
20 - wgetrc
15- name: postgresql 21- name: postgresql
16 block: 22 block:
17 - name: psql config file 23 - name: psql config file
diff --git a/roles/tools/templates/wgetrc.j2 b/roles/tools/templates/wgetrc.j2
new file mode 100644
index 0000000..e5b19bb
--- /dev/null
+++ b/roles/tools/templates/wgetrc.j2
@@ -0,0 +1 @@
hsts-file = {{ lookup("env", "XDG_CACHE_HOME") }}/wget-hsts