diff options
author | jaseg <git@jaseg.net> | 2020-12-30 13:12:06 +0100 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2020-12-30 13:12:06 +0100 |
commit | c6b1c2225d1ac4ac647950be8667b5709b0033a1 (patch) | |
tree | 8db7a14649a277d236791e1c731d98af03a0af88 /gerboweb/deploy/setup_clippy.yml | |
parent | e290ac758b02a9d03bacd511c87fc997db41d0a8 (diff) | |
download | gerbolyze-c6b1c2225d1ac4ac647950be8667b5709b0033a1.tar.gz gerbolyze-c6b1c2225d1ac4ac647950be8667b5709b0033a1.tar.bz2 gerbolyze-c6b1c2225d1ac4ac647950be8667b5709b0033a1.zip |
remove ansible scripts, they are now in their own "infra" repo
Diffstat (limited to 'gerboweb/deploy/setup_clippy.yml')
-rw-r--r-- | gerboweb/deploy/setup_clippy.yml | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/gerboweb/deploy/setup_clippy.yml b/gerboweb/deploy/setup_clippy.yml deleted file mode 100644 index 26142b6..0000000 --- a/gerboweb/deploy/setup_clippy.yml +++ /dev/null @@ -1,85 +0,0 @@ ---- -- name: Clone pixelterm git - git: - repo: https://github.com/jaseg/pixelterm - dest: "{{clippy_root}}/var/lib/pixelterm.git" - -- name: Clone clippy git - git: - repo: https://github.com/jaseg/clippy - dest: "{{clippy_root}}/var/lib/clippy.git" - -- name: Setup required packages for clippy - command: arch-chroot "{{clippy_root}}" pacman -Syu --noconfirm python3 python-pip python-numpy python-pillow - -- name: Setup pixelterm - command: arch-chroot "{{clippy_root}}" sh -c "cd /var/lib/pixelterm.git && python3 setup.py install" - -- name: Setup container clippy systemd service file - template: - src: clippy.service.j2 - dest: "{{clippy_root}}/etc/systemd/system/clippy.service" - owner: root - group: root - mode: 0664 - -- name: Enable systemd machines target - systemd: - name: machines.target - enabled: yes - -- name: Copy over clippy container auto boot service file - copy: - src: clippy-nspawn.service - dest: /etc/systemd/system/clippy-nspawn.service - owner: root - 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 - name: clippy-nspawn.service - enabled: yes - -- name: Restart clippy container - shell: | - systemctl stop clippy-nspawn - sleep 1 - systemctl start clippy-nspawn - for x in $(seq 0 30); do - systemctl -M clippy is-system-running && exit - sleep 1 - done - -- name: Enable clippy systemd service in container - command: systemctl enable -M clippy clippy.service - -- name: Restart clippy systemd service in container - command: systemctl restart -M clippy clippy.service - -#- name: Enable host networkd -# systemd: -# name: systemd-networkd -# enabled: yes -# state: started - -#- name: Enable clippy container networkd -# command: systemctl enable -M clippy systemd-networkd - |