File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 226226 /bin/bash /tmp/ansible-playbook/ansible/files/cis_baseline_check.sh /tmp/ansible-playbook/audit-specs/baselines
227227 when : stage2_nix
228228
229+ - name : Remove supascan after validation
230+ become : yes
231+ shell : |
232+ sudo -u ubuntu bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile remove supascan"
233+ when : stage2_nix
234+
229235 - name : nix collect garbage
230236 become : yes
231237 shell : |
Original file line number Diff line number Diff line change 106106 loop_control :
107107 loop_var : ' nix_item'
108108
109+ - name : Install supascan for baseline validation
110+ ansible.builtin.shell : |
111+ sudo -u ubuntu bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install github:supabase/postgres/{{ git_commit_sha }}#supascan"
112+
113+ - name : nix collect garbage after supascan install
114+ ansible.builtin.shell :
115+ cmd : sudo -u ubuntu bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix-collect-garbage -d"
116+
109117 - name : Set ownership and permissions for file and dirs
110118 ansible.builtin.file :
111119 group : ' postgres'
You can’t perform that action at this time.
0 commit comments