Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ansible:~/roles/vm/install_percona# tail -n 25 main.yml
- ignore_errors: yes
- - name: Update MySQL root password
- mysql_user: name=root host={{ hostvars[item]['ansible_eth1']['ipv4']['address'] }} password={{ root_password.stdout }} login_user=root login_password={{ root_password.stdout }} check_implicit_admin=yes
- with_items: "{{ appservers }}"
- ignore_errors: yes
- when: mycnf.stat.islnk is not defined
- - name: "Mysql tune"
- synchronize:
- src: synchronize/
- dest: /
- notify: restart percona
- handlers:
- - name: "restart percona"
- service:
- name: mysqld
- state: restarted
- - hosts: vm
- - include: ../zabbix/main.yml
- - include: ../monogo_scripts/main.yml
- root@ansible:~/roles/vm/install_percona# cat /etc/ansible/host_vars/blueshadow-db
- appservers:
- - blueshadow-app
- root@ansible:~/roles/vm/install_percona# ansible-playbook -l blueshadow-db main.yml -vv
- Using /etc/ansible/ansible.cfg as config file
- ERROR! Syntax Error while loading YAML.
- The error appears to have been in '/root/roles/vm/install_percona/main.yml': line 125, column 3, but may
- be elsewhere in the file depending on the exact syntax problem.
- The offending line appears to be:
- - name: "Mysql tune"
- ^ here
- root@ansible:~/roles/vm/install_percona#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement