|
|
|
|
@ -1,9 +1,15 @@ |
|
|
|
|
--- |
|
|
|
|
- name: deploy motief application |
|
|
|
|
hosts: motief.sgeboers.nl |
|
|
|
|
hosts: sgeboers.nl |
|
|
|
|
remote_user: webapps |
|
|
|
|
|
|
|
|
|
tasks: |
|
|
|
|
- name: ensure git.sgeboers.nl is in known_hosts |
|
|
|
|
ansible.builtin.known_hosts: |
|
|
|
|
name: git.sgeboers.nl |
|
|
|
|
key: "{{ lookup('pipe', 'ssh-keyscan git.sgeboers.nl') }}" |
|
|
|
|
state: present |
|
|
|
|
|
|
|
|
|
- name: pull latest code |
|
|
|
|
ansible.builtin.git: |
|
|
|
|
repo: git@git.sgeboers.nl:sgeboers/motief.git |
|
|
|
|
|