Clean up punctuation
Change-Id: I18688f5f13e7bb548f278df7fa5de623882b85c3 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
a4c613d04e
commit
c7f8d4154e
@ -12,7 +12,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Create ssh directory.
|
- name: Create ssh directory
|
||||||
become: yes
|
become: yes
|
||||||
file:
|
file:
|
||||||
dest: "{{ ssh_user_home }}/.ssh"
|
dest: "{{ ssh_user_home }}/.ssh"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
owner: "{{ ssh_user_name }}"
|
owner: "{{ ssh_user_name }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Create ssh known_hosts file.
|
- name: Create ssh known_hosts file
|
||||||
become: yes
|
become: yes
|
||||||
template:
|
template:
|
||||||
dest: "{{ ssh_known_hosts_dest }}"
|
dest: "{{ ssh_known_hosts_dest }}"
|
||||||
@ -31,7 +31,7 @@
|
|||||||
src: "{{ ssh_known_hosts_src }}"
|
src: "{{ ssh_known_hosts_src }}"
|
||||||
when: ssh_known_hosts_content | default(False)
|
when: ssh_known_hosts_content | default(False)
|
||||||
|
|
||||||
- name: Create ssh private key.
|
- name: Create ssh private key
|
||||||
become: yes
|
become: yes
|
||||||
template:
|
template:
|
||||||
dest: "{{ ssh_key_private_dest }}"
|
dest: "{{ ssh_key_private_dest }}"
|
||||||
@ -41,7 +41,7 @@
|
|||||||
src: "{{ ssh_key_private_src }}"
|
src: "{{ ssh_key_private_src }}"
|
||||||
when: ssh_key_private_content | default(False)
|
when: ssh_key_private_content | default(False)
|
||||||
|
|
||||||
- name: Create ssh public key.
|
- name: Create ssh public key
|
||||||
become: yes
|
become: yes
|
||||||
template:
|
template:
|
||||||
dest: "{{ ssh_key_public_dest }}"
|
dest: "{{ ssh_key_public_dest }}"
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Define ssh_package_name.
|
- name: Define ssh_package_name
|
||||||
set_fact:
|
set_fact:
|
||||||
ssh_package_name: "{{ __ssh_package_name }}"
|
ssh_package_name: "{{ __ssh_package_name }}"
|
||||||
when: ssh_package_name is not defined
|
when: ssh_package_name is not defined
|
||||||
|
|
||||||
- name: Install ssh from package.
|
- name: Install ssh from package
|
||||||
become: yes
|
become: yes
|
||||||
package:
|
package:
|
||||||
name: "{{ ssh_package_name }}"
|
name: "{{ ssh_package_name }}"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Include OS-specific variables.
|
- name: Include OS-specific variables
|
||||||
include_vars: "{{ ansible_os_family }}.yaml"
|
include_vars: "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
- include: "{{ ssh_task }}.yaml"
|
- include: "{{ ssh_task }}.yaml"
|
||||||
|
Loading…
Reference in New Issue
Block a user