diff --git a/playbooks/infrastructure/azure_mysql_server.yml b/playbooks/infrastructure/azure_mysql_server.yml index b114372..99d0e39 100644 --- a/playbooks/infrastructure/azure_mysql_server.yml +++ b/playbooks/infrastructure/azure_mysql_server.yml @@ -1,4 +1,11 @@ --- +- hosts: localhost + tasks: + - name: Prepare random postfix + set_fact: + rpfx: "{{ 1000 | random }}" + run_once: yes + - hosts: localhost vars: @@ -13,10 +20,6 @@ - azure.azcollection tasks: - - name: Prepare random postfix - set_fact: - rpfx: "{{ 1000 | random }}" - run_once: yes - name: Create a resource group azure_rm_resourcegroup: