summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Savineau <dsavinea@redhat.com>2019-02-08 13:38:53 -0500
committerDimitri Savineau <dsavinea@redhat.com>2019-02-08 13:38:53 -0500
commitbddb50473c532e20a36dbd3d60291e92b10177d4 (patch)
tree12888b97bab042f757f4c9f4e2e587b57cc683bc
parent8505b657afaab9dfa8c8e0309a0ac7e90fe4098b (diff)
Fix yaml syntax
Change-Id: Ib4e477451abd48f6f390a6b4d5ce131499ebd94f
-rw-r--r--meta/main.yml7
-rw-r--r--tasks/main.yml10
2 files changed, 9 insertions, 8 deletions
diff --git a/meta/main.yml b/meta/main.yml
index b0a9f29..939c2d8 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -1,3 +1,4 @@
+---
galaxy_info:
author: Distributed-CI Team
description: An Ansible role that automates the process of key retrieval for DCI's RemoteCI
@@ -5,9 +6,9 @@ galaxy_info:
license: license (Apache)
min_ansible_version: 2.0
platforms:
- - name: EL
- versions:
- - 7
+ - name: EL
+ versions:
+ - 7
galaxy_tags: []
diff --git a/tasks/main.yml b/tasks/main.yml
index cb7b0bf..531dd80 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -3,7 +3,7 @@
file:
path: '{{ item|dirname }}'
state: directory
- become: True
+ become: true
with_items:
- '{{ dci_import_keys_sslclientcert }}'
- '{{ dci_import_keys_sslclientkey }}'
@@ -12,13 +12,13 @@
stat:
path: '{{ dci_import_keys_sslclientkey }}'
register: file_key
- become: True
+ become: true
- name: Verify is the remoteci certificate is already installed
stat:
path: '{{ dci_import_keys_sslclientcert }}'
register: file_cert
- become: True
+ become: true
- name: Retrieve remoteci key and certificate from DCI
dci_keys:
@@ -31,7 +31,7 @@
content: '{{ keys.cert }}'
dest: '{{ dci_import_keys_sslclientcert }}'
when: keys.cert is defined
- become: True
+ become: true
- name: Create the private key file
copy:
@@ -39,4 +39,4 @@
dest: '{{ dci_import_keys_sslclientkey }}'
mode: 0600
when: keys.key is defined
- become: True
+ become: true