Skip to content

Commit

Permalink
fix: installe ansible avec apt plutôt que pip
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamzic committed Sep 18, 2024
1 parent 3bcbfe3 commit 9966845
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synchronize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- name: Install ansible on host
ansible.builtin.pip:
name: ansible
extra_args: "--break-system-packages"
- name: Clone application repository
ansible.builtin.git:
repo: "{{ ops.repository }}"
Expand All @@ -18,6 +19,7 @@
clone: true
single_branch: true
version: "{{ ops.branch | default('main') }}"
force: true
when: ops.repository is defined
- name: Set deployment variables
ansible.builtin.set_fact:
Expand Down

0 comments on commit 9966845

Please sign in to comment.