From f77d40ebad5148d5433f0585a8f8968f623b6d32 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Fri, 24 Aug 2018 14:06:29 +0200 Subject: [PATCH] Fix ansible-lint errors in osbs-cluster playbook Signed-off-by: Clement Verna --- playbooks/groups/osbs-cluster.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/playbooks/groups/osbs-cluster.yml b/playbooks/groups/osbs-cluster.yml index b014198c38..ada09bb620 100644 --- a/playbooks/groups/osbs-cluster.yml +++ b/playbooks/groups/osbs-cluster.yml @@ -495,7 +495,8 @@ - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml pre_tasks: - - set_fact: + - name: Create the username:password string needed by the template + set_fact: auth_info_prod: "{{candidate_registry_osbs_prod_username}}:{{candidate_registry_osbs_prod_password}}" auth_info_stg: "{{candidate_registry_osbs_stg_username}}:{{candidate_registry_osbs_stg_password}}" @@ -533,7 +534,8 @@ - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml pre_tasks: - - set_fact: + - name: Create the username:password string needed by the template + set_fact: auth_info_prod: "{{candidate_registry_osbs_prod_username}}:{{candidate_registry_osbs_prod_password}}" auth_info_stg: "{{candidate_registry_osbs_stg_username}}:{{candidate_registry_osbs_stg_password}}" @@ -697,7 +699,7 @@ src: "{{item}}" dest: "/etc/osbs/buildroot/" owner: root - mode: 600 + mode: 0600 with_items: - "{{files}}/osbs/worker_customize.json" - "{{files}}/osbs/orchestrator_customize.json"