aboutsummaryrefslogtreecommitdiff
path: root/setup_clippy.yml
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-04-04 20:08:46 +0900
committerjaseg <git@jaseg.net>2019-04-04 20:08:46 +0900
commit07f1aacba09acc120ead9c74d476060e698614b7 (patch)
treef20a6604ab811f33c02fa1cc45d989d512c4e09e /setup_clippy.yml
parentbd281ef2e8213c6e92d68aefff9bfd1a8d8351d6 (diff)
downloadinfra-07f1aacba09acc120ead9c74d476060e698614b7.tar.gz
infra-07f1aacba09acc120ead9c74d476060e698614b7.tar.bz2
infra-07f1aacba09acc120ead9c74d476060e698614b7.zip
Fix up clippy networking
Diffstat (limited to 'setup_clippy.yml')
-rw-r--r--setup_clippy.yml20
1 files changed, 18 insertions, 2 deletions
diff --git a/setup_clippy.yml b/setup_clippy.yml
index e4416e0..26142b6 100644
--- a/setup_clippy.yml
+++ b/setup_clippy.yml
@@ -36,6 +36,22 @@
group: root
mode: 0664
+- name: Create systemd-nspawn config dir
+ file:
+ path: /etc/systemd/nspawn
+ state: directory
+ owner: root
+ group: root
+ mode: 0775
+
+- name: Copy over clippy container config
+ copy:
+ src: clippy.nspawn
+ dest: /etc/systemd/nspawn/clippy.nspawn
+ owner: root
+ group: root
+ mode: 0664
+
- name: Enable clippy container auto boot
systemd:
daemon-reload: yes
@@ -64,6 +80,6 @@
# enabled: yes
# state: started
-- name: Enable clippy container networkd
- command: systemctl enable -M clippy systemd-networkd
+#- name: Enable clippy container networkd
+# command: systemctl enable -M clippy systemd-networkd