Add missing fact

This commit is contained in:
Laurent Indermuehle 2022-08-24 16:47:02 +02:00
commit ddf400300a
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 6 additions and 1 deletions

View file

@ -49,7 +49,7 @@
- assert:
that:
- result is changed
- result is changed
- name: state dump - file name should exist
file:
@ -78,6 +78,7 @@
encoding: latin1
name: '{{ db_latin1_name }}'
target: "{{ latin1_file1 }}"
register: result
- assert:
that:

View file

@ -21,6 +21,10 @@
# You should have received a copy of the GNU General Public License
# 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
include_tasks: state_present_absent.yml
vars: