From 548fcc7b496dd831f2128ed06c678c801ec3435e Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 13 Sep 2019 11:53:55 -0400 Subject: [PATCH] deploy-steps-tasks: replace paunch CLI by ansible-paunch module It does the same thing as before, but with Ansible. Change-Id: Ic5efe0c36727e413fcc4896de608932724b8d3b2 --- common/deploy-steps-tasks.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/common/deploy-steps-tasks.yaml b/common/deploy-steps-tasks.yaml index b49b781cb3..2c8f97a85d 100644 --- a/common/deploy-steps-tasks.yaml +++ b/common/deploy-steps-tasks.yaml @@ -239,17 +239,17 @@ - name: Start containers for step {{ step }} environment: TRIPLEO_MINOR_UPDATE: '{{ tripleo_minor_update | default(false) }}' - command: >- - paunch {% if enable_debug|bool %}--debug{% else %}-v{% endif %} apply - --default-runtime "{{ container_cli }}" - --container-log-path "{{ container_log_stdout_path }}" - {% if container_healthcheck_disabled|bool and container_cli == 'podman' %}--healthcheck-disabled{% endif %} - --file /var/lib/tripleo-config/hashed-container-startup-config-step_{{ step }}.json - --config-id tripleo_step{{ step }} --managed-by tripleo-{{ tripleo_role_name }} - changed_when: false + paunch: + config: "/var/lib/tripleo-config/hashed-container-startup-config-step_{{ step }}.json" + config_id: "tripleo_step{{ step }}" + action: apply + container_cli: "{{ container_cli }}" + container_log_stdout_path: "{{ container_log_stdout_path }}" + healthcheck_disabled: "{{ container_healthcheck_disabled | bool }}" + managed_by: "tripleo-{{ tripleo_role_name }}" + debug: "{{ enable_debug | bool }}" register: outputs failed_when: false - no_log: true tags: - container_startup_configs