Skip to content

Commit

Permalink
Fix fork example & test
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Feb 10, 2025
1 parent 9120324 commit 569dfa8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/modules/database_mysql_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ Create, read, and update a Linode MySQL database.
- name: Create a MySQL database forked from another database
linode.cloud.database_mysql_v2:
label: my-db
region: us-mia
engine: mysql/8
type: g6-nanode-1
fork:
source: 12345
state: present
Expand Down
3 changes: 3 additions & 0 deletions plugins/module_utils/doc_fragments/database_mysql_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
- name: Create a MySQL database forked from another database
linode.cloud.database_mysql_v2:
label: my-db
region: us-mia
engine: mysql/8
type: g6-nanode-1
fork:
source: 12345
state: present''', '''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
- name: Fork the database
linode.cloud.database_mysql_v2:
label: "ansible-test-{{ r }}-forked"
region: us-mia
engine: mysql/8
type: g6-nanode-1
fork:
source: "{{ db_refresh.database.id }}"
state: present
Expand Down

0 comments on commit 569dfa8

Please # to comment.