Test playbook: 1[root@lampp lampp]# cat test.yml 2--- 3- name: LAMPP Dev (MySQL/CentOS7) 4hosts: 127.0.0.1 5connection: local 6become: true 78tasks: 9- name: Get the mysql root default password 10command: awk '/temporary password/ {print $NF}' /var/log/mysqld.log 11register: command_output 1213- set_fact: …
Read More