From c7f8d4154e0939da837745b8b370f2006ef5cb77 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 10 Dec 2018 13:18:58 -0500 Subject: [PATCH] Clean up punctuation Change-Id: I18688f5f13e7bb548f278df7fa5de623882b85c3 Signed-off-by: Paul Belanger --- tasks/config.yaml | 8 ++++---- tasks/install.yaml | 4 ++-- tasks/main.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tasks/config.yaml b/tasks/config.yaml index 2394d0b..c3af9c7 100644 --- a/tasks/config.yaml +++ b/tasks/config.yaml @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. --- -- name: Create ssh directory. +- name: Create ssh directory become: yes file: dest: "{{ ssh_user_home }}/.ssh" @@ -21,7 +21,7 @@ owner: "{{ ssh_user_name }}" state: directory -- name: Create ssh known_hosts file. +- name: Create ssh known_hosts file become: yes template: dest: "{{ ssh_known_hosts_dest }}" @@ -31,7 +31,7 @@ src: "{{ ssh_known_hosts_src }}" when: ssh_known_hosts_content | default(False) -- name: Create ssh private key. +- name: Create ssh private key become: yes template: dest: "{{ ssh_key_private_dest }}" @@ -41,7 +41,7 @@ src: "{{ ssh_key_private_src }}" when: ssh_key_private_content | default(False) -- name: Create ssh public key. +- name: Create ssh public key become: yes template: dest: "{{ ssh_key_public_dest }}" diff --git a/tasks/install.yaml b/tasks/install.yaml index 36d7b51..1f84dcd 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -12,12 +12,12 @@ # License for the specific language governing permissions and limitations # under the License. --- -- name: Define ssh_package_name. +- name: Define ssh_package_name set_fact: ssh_package_name: "{{ __ssh_package_name }}" when: ssh_package_name is not defined -- name: Install ssh from package. +- name: Install ssh from package become: yes package: name: "{{ ssh_package_name }}" diff --git a/tasks/main.yaml b/tasks/main.yaml index 57c1bcb..16c68a9 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. --- -- name: Include OS-specific variables. +- name: Include OS-specific variables include_vars: "{{ ansible_os_family }}.yaml" - include: "{{ ssh_task }}.yaml"