Ansible fix try #1.
This commit is contained in:
parent
0799ae1a1f
commit
14418c5a0d
1 changed files with 1 additions and 1 deletions
2
ansible/lemmy.yml
vendored
2
ansible/lemmy.yml
vendored
|
@ -32,8 +32,8 @@
|
||||||
- name: add all template files
|
- name: add all template files
|
||||||
template: src={{item.src}} dest={{item.dest}}
|
template: src={{item.src}} dest={{item.dest}}
|
||||||
with_items:
|
with_items:
|
||||||
- { src: '../docker/lemmy.hjson', dest: '/lemmy/lemmy.hjson' }
|
|
||||||
- { src: '../docker/prod/docker-compose.yml', dest: '/lemmy/docker-compose.yml' }
|
- { src: '../docker/prod/docker-compose.yml', dest: '/lemmy/docker-compose.yml' }
|
||||||
|
- { src: 'templates/config.hjson', dest: '/lemmy/lemmy.hjson' }
|
||||||
- { src: 'templates/nginx.conf', dest: '/etc/nginx/sites-enabled/lemmy.conf' }
|
- { src: 'templates/nginx.conf', dest: '/etc/nginx/sites-enabled/lemmy.conf' }
|
||||||
vars:
|
vars:
|
||||||
postgres_password: "{{ lookup('password', 'passwords/{{ inventory_hostname }}/postgres chars=ascii_letters,digits') }}"
|
postgres_password: "{{ lookup('password', 'passwords/{{ inventory_hostname }}/postgres chars=ascii_letters,digits') }}"
|
||||||
|
|
Reference in a new issue