Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
common
Commits
dd8453ff
Commit
dd8453ff
authored
Dec 12, 2019
by
Thomas Schneider
Browse files
basic-system: Configure journal and hosts only optionally
parent
64ebfaeb
Pipeline
#1688
passed with stage
in 51 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
basic-system/defaults/main.yml
View file @
dd8453ff
...
...
@@ -4,3 +4,5 @@ dns_hostname_fqdn: false
hosts_alternates
:
[]
hosts_additionals
:
[]
etckeeper
:
true
rsyslog_needed
:
false
hosts_precious
:
false
basic-system/tasks/logging.yml
View file @
dd8453ff
...
...
@@ -18,6 +18,7 @@
when
:
-
syslogserver is not defined or syslogserver.split(":")[0] != ansible_fqdn
-
ansible_distribution_major_version|int >=
9
-
not rsyslog_needed
register
:
syslog_provider
tags
:
-
syslog
...
...
basic-system/tasks/network.yml
View file @
dd8453ff
...
...
@@ -45,6 +45,7 @@
template
:
src
:
hosts.j2
dest
:
/etc/hosts
when
:
not hosts_precious
notify
:
-
gather network facts once again
tags
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment