Add desktop configuration
This commit is contained in:
parent
cede4ea365
commit
3d26eaa10c
2 changed files with 9 additions and 0 deletions
3
files/docker-daemon.json
Normal file
3
files/docker-daemon.json
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"data-root": "/mnt/docker"
|
||||||
|
}
|
||||||
|
|
@ -13,6 +13,12 @@
|
||||||
dest: '/etc/subuid',
|
dest: '/etc/subuid',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- name: setup desktop configuration
|
||||||
|
copy:
|
||||||
|
src: 'files/docker-daemon.json'
|
||||||
|
dest: '{{ xdg_config_dir }}/docker/daemon.json'
|
||||||
|
when: ansible_hostname == 'desktop'
|
||||||
|
|
||||||
- name: ensure correct DOCKER_HOST is set
|
- name: ensure correct DOCKER_HOST is set
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: '{{ ansible_env.HOME }}/.bashrc'
|
path: '{{ ansible_env.HOME }}/.bashrc'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue