Skip to content

Commit 4b17691

Browse files
committed
fix: try to run from /tmp dir
1 parent 7d4dc0b commit 4b17691

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

ansible-nix/tasks/stage2/playbook.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,10 @@
6868
shell: |
6969
sudo -u ubuntu bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install nixpkgs#osquery"
7070
71-
- name: Install osquery permission check script
72-
become: yes
73-
copy:
74-
src: /tmp/ansible-playbook/files/permission_check.py
75-
dest: /home/ubuntu/permission_check.py
76-
mode: "0755"
77-
7871
- name: Run osquery permission checks
7972
become: yes
8073
shell: |
81-
sudo -u ubuntu bash -c "python3 /home/ubuntu/permission_check.py"
82-
83-
- name: Remove osquery permission check script
84-
become: yes
85-
file:
86-
path: /home/ubuntu/permission_check.py
87-
state: absent
74+
sudo -u ubuntu bash -c "python3 /tmp/ansible-playbook/files/permission_check.py"
8875
8976
- name: Remove osquery
9077
become: yes

common-nix.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.6.1.48-nix-staged"
1+
postgres-version = "15.6.1.49-nix-staged"

0 commit comments

Comments
 (0)