Ansible, Automate, WordPress, Lamp Stack, Ansible Playbook.
present - name: "Ubuntu - restarting & enabling service" service: name: mysql state: restarted enabled: true - name: "Ubuntu - set the root password" ignore_errors: true mysql_user: name: root password: "{{ mariadb_root_pass }}" login_unix_socket: /var/run/mysqld/mysqld.sock - name: "Ubuntu -