Commit 5ebb6c16 authored by Kristopher Ruzic's avatar Kristopher Ruzic

State is required for ansible service

parent b2ce2ed6
- name: Install packages using apt
- name: Install packages using apt
apt: name=slapos-node state=present update_cache=yes cache_valid_time=3600
when: ansible_os_family == "Debian"
......@@ -18,5 +18,5 @@
wait_for: host=127.0.0.1 port=8080 delay=10
- name: Run slapos format for initial bootstrap
service: name="slapos node format" arguments="--now --alter_user=True"
service: name="slapos node format" arguments="--now --alter_user=True" state=started
when: slapos_cfg.stat.exists == False
\ No newline at end of file
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