Skip to content
Snippets Groups Projects
Commit c6304086 authored by Chris Croome's avatar Chris Croome
Browse files

Only build mod_md when code changes

parent b601b8bc
No related branches found
No related tags found
No related merge requests found
Pipeline #17729 passed
......@@ -38,21 +38,27 @@
depth: 1
force: true
update: true
register: apache_md_repo
- name: Buildconf mod_md
command: ./buildconf
args:
chdir: /usr/local/src/mod_md
- name: Build and install mod_md
block:
- name: Buildconf mod_md
command: ./buildconf
args:
chdir: /usr/local/src/mod_md
- name: Configure mod_md
command: ./configure --with-apxs=/usr/bin/apxs --enable-werror
args:
chdir: /usr/local/src/mod_md
- name: Configure mod_md
command: ./configure --with-apxs=/usr/bin/apxs --enable-werror
args:
chdir: /usr/local/src/mod_md
- name: Make install mod_md
make:
chdir: /usr/local/src/mod_md
target: install
- name: Make install mod_md
make:
chdir: /usr/local/src/mod_md
target: install
when: apache_md_repo.changed
tags:
- apache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment