Skip to content
Snippets Groups Projects
Verified Commit 2af5dfa4 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

fix ansible playbook

parent 3149837a
No related branches found
No related tags found
No related merge requests found
This directory contains configuration for the OpenAppStack instance running on
This directory contains information about the OpenAppStack instance running on
this machine. For general information, see [https://openappstack.net].
## Flux
......
......@@ -7,13 +7,14 @@
state: directory
become: true
with_items:
- "{{ configuration_directory }}"
- "{{ data_directory }}"
- "/usr/local/share/bash-completion/completions"
- name: Create README in configuration directory
template:
src: configuration_README.md
dest: "{{ configuration_directory }}/README.md"
copy:
dest: "{{ data_directory }}/README.md"
src: README.md
mode: '0755'
become: true
- name: Install bash-completion
......@@ -77,7 +78,7 @@
- version
template:
src: "version.txt"
dest: "/var/lib/OpenAppStack/version.txt"
dest: "{{ data_directory }}/version.txt"
mode: "0444"
become: true
......
......@@ -59,10 +59,6 @@
- openshift
executable: /usr/bin/pip3
- name: Set configuration directory
set_fact:
configuration_directory: "{{ configuration_directory }}"
- name: Install kubectl snap
# kubectl needs to get installed as "classic" snap
command: snap install --classic kubectl
......
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