Compare commits
No commits in common. "ecca197cf37eaa5136d24f01f6a706c8fa033881" and "7603ff98299a9bd25b343728d437dfc35ea37692" have entirely different histories.
ecca197cf3
...
7603ff9829
|
@ -3,4 +3,4 @@
|
|||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
environment:
|
||||
NEEDRESTART_SUSPEND: 'do not promt me'
|
||||
NEEDRESTART_SUSPEND: 'please no reboot now'
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
[Unit]
|
||||
Description=Rebuild cdi on boot
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -46,20 +46,6 @@
|
|||
args:
|
||||
creates: /etc/cdi/nvidia.yaml
|
||||
|
||||
- name: Create systemd unit file
|
||||
template:
|
||||
src: createcdi.service.j2
|
||||
dest: /etc/systemd/system/createcdi.service
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
||||
- name: libnvidia-container | automatically regenerate cdi
|
||||
systemd:
|
||||
name: createcdi
|
||||
enabled: yes
|
||||
state: started
|
||||
|
||||
- name: Install podman
|
||||
apt:
|
||||
name: [ 'podman', 'podman-compose' ]
|
||||
|
|
Loading…
Reference in New Issue