mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-23 19:01:28 -07:00
Rename folder to better purpose
This commit is contained in:
parent
31a41d1a09
commit
affcd1e93c
3 changed files with 13 additions and 23 deletions
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: "{{ role_name }} | Fake root | Ensure folder"
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ playbook_dir }}/root"
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: "{{ role_name }} | Fake root | Ensure default file exists"
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ playbook_dir }}/root/.my.cnf"
|
||||||
|
state: touch
|
|
@ -1,21 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
# - name: "{{ role_name }} | install | Required package for testing"
|
|
||||||
# ansible.builtin.apt:
|
|
||||||
# name:
|
|
||||||
# - iproute2 # To grab docker network gateway address
|
|
||||||
# - python3-cryptography # To authenticate with MySQL 8+
|
|
||||||
# state: present
|
|
||||||
# update_cache: true
|
|
||||||
# environment:
|
|
||||||
# DEBIAN_FRONTEND: noninteractive
|
|
||||||
|
|
||||||
- name: "{{ role_name }} | install | Ensure fake root folder"
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ playbook_dir }}/root"
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- name: "{{ role_name }} | install | Ensure fake root default file exists"
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ playbook_dir }}/root/.my.cnf"
|
|
||||||
state: touch
|
|
|
@ -4,9 +4,9 @@
|
||||||
# and should not be used as examples of how to write Ansible roles #
|
# and should not be used as examples of how to write Ansible roles #
|
||||||
####################################################################
|
####################################################################
|
||||||
|
|
||||||
- name: Prepare the controller python and MySQL connector
|
- name: Prepare the fake root folder
|
||||||
ansible.builtin.import_tasks:
|
ansible.builtin.import_tasks:
|
||||||
file: install.yml
|
file: fake_root.yml
|
||||||
|
|
||||||
# setvars.yml requires the iproute2 package installed by install.yml
|
# setvars.yml requires the iproute2 package installed by install.yml
|
||||||
- name: Set variables
|
- name: Set variables
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue