diff --git a/roles/backup/tasks/creation.yml b/roles/backup/tasks/creation.yml index 06122e86..d4cdffc3 100644 --- a/roles/backup/tasks/creation.yml +++ b/roles/backup/tasks/creation.yml @@ -32,22 +32,22 @@ - this_backup['resources'][0]['metadata']['labels'] - block: - - include_tasks: init.yml + - include_tasks: init.yml - - include_tasks: postgres.yml + - include_tasks: postgres.yml - - include_tasks: awx-cro.yml + - include_tasks: awx-cro.yml - - include_tasks: secrets.yml + - include_tasks: secrets.yml - - name: Set flag signifying this backup was successful - set_fact: - backup_complete: true + - name: Set flag signifying this backup was successful + set_fact: + backup_complete: true - - include_tasks: cleanup.yml + - include_tasks: cleanup.yml when: - - this_backup['resources'][0]['status']['backupDirectory'] is not defined + - this_backup['resources'][0]['status']['backupDirectory'] is not defined - name: Update status variables include_tasks: update_status.yml diff --git a/roles/installer/tasks/install.yml b/roles/installer/tasks/install.yml index 4a37ed86..faca317e 100644 --- a/roles/installer/tasks/install.yml +++ b/roles/installer/tasks/install.yml @@ -39,17 +39,17 @@ - name: Load LDAP CAcert certificate include_tasks: load_ldap_cacert_secret.yml when: - - ldap_cacert_secret != '' + - ldap_cacert_secret != '' - name: Load ldap bind password include_tasks: load_ldap_password_secret.yml when: - - ldap_password_secret != '' + - ldap_password_secret != '' - name: Load bundle certificate authority certificate include_tasks: load_bundle_cacert_secret.yml when: - - bundle_cacert_secret != '' + - bundle_cacert_secret != '' - name: Include admin password configuration tasks include_tasks: admin_password_configuration.yml @@ -66,8 +66,8 @@ - name: Load Route TLS certificate include_tasks: load_route_tls_secret.yml when: - - ingress_type | lower == 'route' - - route_tls_secret != '' + - ingress_type | lower == 'route' + - route_tls_secret != '' - name: Include resources configuration tasks include_tasks: resources_configuration.yml @@ -91,8 +91,8 @@ bash -c "awx-manage migrate --noinput" register: migrate_result when: - - database_check is defined - - (database_check.stdout|trim) != '0' + - database_check is defined + - (database_check.stdout|trim) != '0' - name: Initialize Django include_tasks: initialize_django.yml diff --git a/roles/restore/tasks/main.yml b/roles/restore/tasks/main.yml index 42c36997..704f5da0 100644 --- a/roles/restore/tasks/main.yml +++ b/roles/restore/tasks/main.yml @@ -32,24 +32,24 @@ - this_restore['resources'][0]['metadata']['labels'] - block: - - include_tasks: init.yml + - include_tasks: init.yml - - include_tasks: import_vars.yml + - include_tasks: import_vars.yml - - include_tasks: secrets.yml + - include_tasks: secrets.yml - - include_tasks: deploy_awx.yml + - include_tasks: deploy_awx.yml - - include_tasks: postgres.yml + - include_tasks: postgres.yml - - name: Set flag signifying this restore was successful - set_fact: - tower_restore_complete: True + - name: Set flag signifying this restore was successful + set_fact: + tower_restore_complete: True - - include_tasks: cleanup.yml + - include_tasks: cleanup.yml when: - - this_restore['resources'][0]['status']['restoreComplete'] is not defined + - this_restore['resources'][0]['status']['restoreComplete'] is not defined - name: Update status variables include_tasks: update_status.yml