summaryrefslogtreecommitdiffstats
path: root/ansible/infrastructure.yml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-03-13 09:33:53 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-04-03 13:32:47 +0200
commit4e2e9e887b8941a501a80a6c870ad4cb9295ddac (patch)
tree154d0f41504247ed5be17f9d92328bce5ad9985f /ansible/infrastructure.yml
parentcdd93f561042f5ee4df72895e33bc02a122d5104 (diff)
Verify offline app repo is working
A patch for failing fast if configured offline application repository is not working properly. Just adding repo to repolist doesn't guarantee it's really operational. Change-Id: I65372b9b1ea5f5dcb797548b14e3ae1295668592 Issue-ID: OOM-1689 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/infrastructure.yml')
-rw-r--r--ansible/infrastructure.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/ansible/infrastructure.yml b/ansible/infrastructure.yml
index 74a7b68b..e49ee919 100644
--- a/ansible/infrastructure.yml
+++ b/ansible/infrastructure.yml
@@ -3,12 +3,13 @@
hosts: infrastructure, kubernetes
roles:
- package-repository
- - role: firewall
+ - firewall
- name: Setup infrastructure servers
hosts: infrastructure
roles:
- chrony
+ - package-repository-check
- certificates
- docker
- dns
@@ -20,6 +21,7 @@
hosts: kubernetes
roles:
- chrony
+ - package-repository-check
- docker
tasks:
- include_role: