Skip to content
Snippets Groups Projects
Verified Commit 64abd611 authored by Varac's avatar Varac
Browse files

Migrate configFiles() to master (#47)

parent b31d0cc1
No related branches found
No related tags found
No related merge requests found
......@@ -23,15 +23,11 @@
- debug: var=createStorage.stdout
- name: Clone helmfiles repo
tags:
- 'temp'
git:
repo: 'https://code.greenhost.net/openappstack/helmfiles'
dest: '/oas/source/repos/helmfiles'
- name: Clone charts repo
tags:
- 'temp'
git:
repo: 'https://code.greenhost.net/openappstack/charts'
dest: '/oas/source/repos/charts'
......@@ -41,10 +37,23 @@
register: configureKeycloak
- debug: var=configureKeycloak.stdout
- name: Ensure /oas/config/values/apps directory
tags:
- 'temp'
file:
state: directory
path: /oas/config/values/apps
- name: Touch config file locations
command: 'oas_control /usr/local/bin/control configFiles'
register: configFiles
- debug: var=configFiles.stdout
tags:
- 'temp'
file:
state: touch
path: "{{ item }}"
mode: '0600'
with_items:
- /oas/config/values/apps/traefik.yaml
- /oas/config/values/apps/keycloak.yaml
- name: Apply helmfiles
environment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment