github.com/noirx94/tendermintmp@v0.0.1/networks/remote/ansible/roles/install/tasks/main.yml (about) 1 --- 2 3 - name: Create service group 4 group: "name={{service}}" 5 6 - name: Create service user 7 user: "name={{service}} group={{service}} home=/home/{{service}}" 8 9 - name: Change user folder to more permissive 10 file: "path=/home/{{service}} mode=0755" 11 12 - name: Create service 13 template: "src=systemd.service.j2 dest=/etc/systemd/system/{{service}}.service" 14 notify: reload services 15