add systemd parameter to hostname
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8b00e683d9
commit
ee96ad264d
36
.yamllint
36
.yamllint
@ -1,11 +1,33 @@
|
|||||||
---
|
---
|
||||||
|
# Based on ansible-lint config
|
||||||
extends: default
|
extends: default
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
# 80 chars should be enough, but don't fail if a line is longer
|
braces:
|
||||||
line-length:
|
max-spaces-inside: 1
|
||||||
max: 80
|
level: error
|
||||||
level: warning
|
brackets:
|
||||||
allow-non-breakable-words: true
|
max-spaces-inside: 1
|
||||||
comments:
|
level: error
|
||||||
min-spaces-from-content: 1
|
colons:
|
||||||
|
max-spaces-after: -1
|
||||||
|
level: error
|
||||||
|
commas:
|
||||||
|
max-spaces-after: -1
|
||||||
|
level: error
|
||||||
|
comments: disable
|
||||||
|
comments-indentation: disable
|
||||||
|
document-start: disable
|
||||||
|
empty-lines:
|
||||||
|
max: 3
|
||||||
|
level: error
|
||||||
|
hyphens:
|
||||||
|
level: error
|
||||||
|
indentation: disable
|
||||||
|
key-duplicates: enable
|
||||||
|
line-length: disable
|
||||||
|
new-line-at-end-of-file: disable
|
||||||
|
new-lines:
|
||||||
|
type: unix
|
||||||
|
trailing-spaces: disable
|
||||||
|
truthy: disable
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
- name: Ensure hostname set
|
- name: Ensure hostname set
|
||||||
hostname:
|
hostname:
|
||||||
name: "{{ inventory_hostname }}"
|
name: "{{ inventory_hostname }}"
|
||||||
become: yes
|
use: systemd
|
||||||
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user