Skip to content

Commit

Permalink
Make deploy test work when called through tmt inside vagrant VM
Browse files Browse the repository at this point in the history
  • Loading branch information
majamassarini committed Sep 13, 2024
1 parent e906d88 commit 4dcdc99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions playbooks/test_deploy_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@
- name: Copy tmt_tree in tmt home (otherwise I can't write on it...) # noqa risky-file-permissions # this is a recursive copy
ansible.builtin.copy:
src: "{{ tmt_tree }}/"
dest: /home/tmt/deployment
dest: "{{ src_dir }}"
owner: tmt
directory_mode: "0755"
when: src_dir == "/home/tmt/deployment"
when: user == "tmt"

- name: Copy secrets that are already been generated in tmt home # noqa risky-file-permissions # this is a recursive copy
ansible.builtin.copy:
src: "../secrets"
dest: /home/tmt/deployment
dest: "{{ src_dir }}"
owner: tmt
directory_mode: "0755"
when: src_dir == "/home/tmt/deployment"
when: user == "tmt"

- name: Create packit/dev.yml
ansible.builtin.copy:
Expand Down

0 comments on commit 4dcdc99

Please sign in to comment.