Commit f32d831d authored by levinericzimmermann's avatar levinericzimmermann Committed by Levin Zimmermann

playbook: Fix bug when running Fluentd role.

Fluentd couldn't be installed because we first have to configure the
SlapOS client via `slapos configure client` before being able to use
`slapos console` (to supply and request Fluentd from a Python script).
parent da118e8a
...@@ -5,3 +5,12 @@ ...@@ -5,3 +5,12 @@
- name: a play that runs entirely on the ansible host - name: a play that runs entirely on the ansible host
hosts: 127.0.0.1 hosts: 127.0.0.1
connection: local connection: local
vars_prompt:
- name: "slapos_user_token"
prompt: "Please enter a token from your SlapOS account."
private: no
tasks:
- name: Configure SlapOS Client
shell: slapos configure client --token {{ slapos_user_token }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment