X-Git-Url: http://git.squeep.com/?p=awsible;a=blobdiff_plain;f=roles%2Flaunchconfig%2Ftasks%2Fmain.yml;h=bf0510f730e004ba0beb0773168f56920d05bcf2;hp=ced0bcd16dc8f2ae742429f6fc149fc85bde69af;hb=34bb0ce598fd4e3169164c8f2dee6272b53d80a1;hpb=5175094041f8a6c5a36cd066f5fe276655d34bbc diff --git a/roles/launchconfig/tasks/main.yml b/roles/launchconfig/tasks/main.yml index ced0bcd..bf0510f 100644 --- a/roles/launchconfig/tasks/main.yml +++ b/roles/launchconfig/tasks/main.yml @@ -12,22 +12,22 @@ - set_fact: ud_cluster: - "{{ module }}" - - "{{ (country|default() != '')|ternary('c0', '') }}{{ country|default('') }}" - - "{{ (phase|default() != '')|ternary('d0', '') }}{{ phase|default('') }}" + - "{{ country|default()|ternary('c0', '') }}{{ country|default() }}" + - "{{ phase|default()|ternary('d0', '') }}{{ phase|default() }}" - set_fact: ud_asgn: - "{{ module }}" - - "{{ stack|default('') }}" - - "{{ (country|default() != '')|ternary('c0', '') }}{{ country|default('') }}" - - "{{ (phase|default() != '')|ternary('d0', '') }}{{ phase|default('') }}" + - "{{ stack|default() }}" + - "{{ country|default()|ternary('c0', '') }}{{ country|default() }}" + - "{{ phase|default()|ternary('d0', '') }}{{ phase|default() }}" - set_fact: lc_n: - "{{ module }}" - - "{{ stack|default('') }}" - - "{{ (country|default() != '')|ternary('c0', '') }}{{ country|default('') }}" - - "{{ (phase|default() != '')|ternary('d0', '') }}{{ phase|default('') }}" + - "{{ stack|default() }}" + - "{{ country|default()|ternary('c0', '') }}{{ country|default() }}" + - "{{ phase|default()|ternary('d0', '') }}{{ phase|default() }}" - "{{ version }}" - name: assemble user data