Commit 12902ec9 authored by Lu Xu's avatar Lu Xu 👀

playbook: fix warning statements should not include jinja2 templating delimiters

parent 7d818359
......@@ -12,7 +12,7 @@
- name: Configure SlapOS with slapos node register
shell: "slapos node register --token {{ slapostoken }} --master-url {{ slapos_master_url }} --master-url-web {{ slapos_web_master_url }} --interface-name {{ interface_name }} {{ computer_name }}"
when: slapos_cfg.stat.exists == False and "{{ slapostoken }}" != "notoken" and "{{ computer_name }}" != "noname"
when: slapos_cfg.stat.exists == False and slapostoken != "notoken" and computer_name != "noname"
- name: Check if configuration exists already
stat: path=/etc/opt/slapos/slapos.cfg
......
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