Skip to content

Commit

Permalink
fix cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamzic committed Sep 26, 2024
1 parent 15cc0b8 commit 52ce4cc
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions synchronize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
- name: Synchronize Ops repository with server
become: true
hosts: all
vars:
ansible_python_interpreter: /usr/bin/python3
tasks:
- name: Ensure python3-apt is installed (required for apt module)
ansible.builtin.apt:
name: python3-apt
state: present
- name: Install continuous deployment tools
ansible.builtin.apt:
name: [git, python3-pip]
Expand All @@ -24,8 +18,7 @@
update: true
clone: true
single_branch: true
force: true
version: "main"
version: "{{ ops.branch }}"
when: ops.repository is defined
- name: Set deployment variables
ansible.builtin.set_fact:
Expand Down

0 comments on commit 52ce4cc

Please sign in to comment.