1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# Configuration for Baserock webserver system image. # # This expects to be run on a Fedora 26 cloud image. --- - hosts: webserver become: yes become_method: sudo tasks: - name: Install nginx package apt: pkg: - nginx - libnginx-mod-http-fancyindex update_cache: yes - name: install lvm2 tools apt: name: lvm2