Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
eb80c0f8
Verified
Commit
eb80c0f8
authored
Jun 12, 2020
by
Frederik Schwan
Committed by
Sven-Hendrik Haase
Jun 17, 2020
Browse files
fix E601 'Don’t compare to literal True/False'
parent
ef0397af
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/install_arch/tasks/main.yml
View file @
eb80c0f8
...
...
@@ -184,11 +184,11 @@
-
name
:
configure network (static)
template
:
src=10-static-ethernet.network.j2 dest=/mnt/etc/systemd/network/10-static-ethernet.network owner=root group=root mode=0644
when
:
dhcp|default(False)
== False
when
:
not
dhcp|default(False)
-
name
:
configure network (dhcp)
template
:
src=10-dhcp-ethernet.network.j2 dest=/mnt/etc/systemd/network/10-dhcp-ethernet.network owner=root group=root mode=0644
when
:
dhcp|default(False)
== True
when
:
dhcp|default(False)
-
name
:
install hcloud-init
copy
:
src=hcloud-init dest=/mnt/usr/local/bin/hcloud-init owner=root group=root mode=0755
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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