bugfix: update awx repository was broken

master
Sven Ketelsen 4 years ago
parent 1762c49dd0
commit 58413ca173

@ -472,13 +472,10 @@
tags: tags:
- awx_config - awx_config
- name: "Create archive for repository <hetzner-ansible>" # noqa git-latest - name: "Create archive for repository <hetzner-ansible>"
shell: cd {{ playbook_dir }} && git archive --format tar.gz -o /tmp/hetzner-ansible.tar.gz HEAD
changed_when: true
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
git:
archive: /tmp/hetzner-ansible.tar.gz
dest: /tmp/gitrepo/
repo: "{{ playbook_dir }}"
version: HEAD
become: false become: false
tags: tags:
- awx_config - awx_config
@ -519,7 +516,6 @@
path: '{{ item }}' path: '{{ item }}'
loop: loop:
- /tmp/hetzner-ansible.tar.gz - /tmp/hetzner-ansible.tar.gz
- /tmp/gitrepo
tags: tags:
- awx_config - awx_config
- awx_repository - awx_repository

Loading…
Cancel
Save