mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-26 16:01:45 -07:00
Add missing fact
This commit is contained in:
parent
c0faab020f
commit
ddf400300a
2 changed files with 6 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- result is changed
|
- result is changed
|
||||||
|
|
||||||
- name: state dump - file name should exist
|
- name: state dump - file name should exist
|
||||||
file:
|
file:
|
||||||
|
@ -78,6 +78,7 @@
|
||||||
encoding: latin1
|
encoding: latin1
|
||||||
name: '{{ db_latin1_name }}'
|
name: '{{ db_latin1_name }}'
|
||||||
target: "{{ latin1_file1 }}"
|
target: "{{ latin1_file1 }}"
|
||||||
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
- name: alias mysql command to include default options
|
||||||
|
set_fact:
|
||||||
|
mysql_command: "mysql -u{{ mysql_user }} -p{{ mysql_password }} -P{{ mysql_primary_port }} --protocol=tcp"
|
||||||
|
|
||||||
- name: Check state present/absent
|
- name: Check state present/absent
|
||||||
include_tasks: state_present_absent.yml
|
include_tasks: state_present_absent.yml
|
||||||
vars:
|
vars:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue