yaml and ansible linting clean ups
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# tasks file for ensure_hostname
|
||||
- name: Set hostname if localhost
|
||||
- name: Set Hostname If Localhost
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
- ansible_facts["fqdn"] == 'localhost.localdomain'
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
localhost
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
roles: [ensure_hostname]
|
||||
Reference in New Issue
Block a user