Merging pull-request.
This commit is contained in:
parent
e6ac8c5c27
commit
b4e45bc77d
9
roles/domain/tasks/cleanup.yml
Normal file
9
roles/domain/tasks/cleanup.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
# Final tasks.
|
||||||
|
|
||||||
|
- name: Ensuring APT stack is healthy
|
||||||
|
shell: dpkg --configure -a && apt-get install -f
|
||||||
|
|
||||||
|
# Correctly managing ansible-pull runs.
|
||||||
|
- name: Updating local version for repo
|
||||||
|
shell: 'rm -f {{ ansible_local.checksum.repover_file }} && echo "{{ ansible_local.checksum.repover }}" > {{ ansible_local.checksum.repover_file }}'
|
@ -57,5 +57,7 @@
|
|||||||
- domain
|
- domain
|
||||||
- join
|
- join
|
||||||
|
|
||||||
- name: Updating local version for repo
|
- include: cleanup.yml
|
||||||
shell: 'rm -f {{ ansible_local.checksum.repover_file }} && echo "{{ ansible_local.checksum.repover }}" > {{ ansible_local.checksum.repover_file }}'
|
tags:
|
||||||
|
- domain
|
||||||
|
- cleanup
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Fixing APT issues, every time.
|
||||||
|
shell: dpkg --configure -a && apt-get install -f
|
||||||
|
|
||||||
- name: Domain settings download
|
- name: Domain settings download
|
||||||
get_url:
|
get_url:
|
||||||
url: "http://{{ ansible_default_ipv4.gateway }}:3000/domain"
|
url: "http://{{ ansible_default_ipv4.gateway }}:3000/domain"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user