--- - name: create logical volume for /srv lvol: vg: "{{ host_name }}" lv: "srv" size: "{{ liquidtruth_srv_disk_size }}" - name: create filesystem filesystem: fstype: xfs dev: "/dev/mapper/{{ host_name | replace('-', '--') }}-srv" - name: mount filesytem mount: src: "/dev/mapper/{{ host_name | replace('-', '--') }}-srv" path: /srv fstype: xfs state: mounted - name: install and configure mongodb import_tasks: mongodb.yml - name: install and configure nodejs import_tasks: nodejs.yml - name: install and configure nginx import_tasks: nginx.yml - name: create app user user: name: "{{ liquidtruth_app_user }}" state: present append: yes shell: /bin/zsh