--- # tasks file for nginx_install - name: Install nginx yum: name: nginx state: present - name: Start Nginx systemd: state: started name: nginx