updated src builds

This commit is contained in:
Matthew Stobbs
2025-03-16 20:17:28 -06:00
parent 43f539253f
commit bfd3afd353
20 changed files with 128 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
- name: Remove existing install
- name: Remove existing install {{ pkg }}
when:
- nwg_hello.clean
become: true
@@ -9,23 +9,23 @@
state: absent
path: "{{ file }}"
- name: Check if nwg-hello is installed
- name: Check for installed {{ pkg }}
register: stat_nwg_hello_inst
ansible.builtin.stat:
path: /etc/nwg-hello
- name: Build and install nwg-hello
- name: Build and install {{ pkg }}
when:
- not stat_nwg_hello_inst.stat.exists
block:
- name: Clone git repository
- name: Clone git repository {{ pkg }}
ansible.builtin.git:
depth: 1
dest: "{{ nwg_hello.git_path }}"
repo: "{{ nwg_hello.git_repo }}"
version: "{{ nwg_hello.vers }}"
- name: Apply patch Alpine linux
- name: Apply patch Alpine linux {{ pkg }}
when:
- ansible_os_family == 'Alpine'
ansible.posix.patch:
@@ -34,7 +34,7 @@
state: present
strip: 1
- name: Install nwg-hello
- name: Install {{ pkg }}
become: true
ansible.builtin.command:
creates: /etc/nwg-hello