Commit e352e59f authored by Chris Croome's avatar Chris Croome

move vars back into build.yml due to undef vars

parent 87265c75
Pipeline #3475 failed with stages
in 6 minutes and 3 seconds
......@@ -6,7 +6,9 @@ The build playbook download source debs for PHP, set the file descriptors limit
The test playbook then installs the debs that have benn built to thest that they can be installed without errors.
The deploy playbook
The deploy playbook rsync's the files to the apt repo.
The Webarchitects specific variables are in `group_vars/main.yml`.
# PHP File Descriptors Limit
......
---
- name: Build
hosts: "{{ hostname }}"
vars:
php_sockets: 4096
php_distro: stretch
php_repo_domain: deb.webarch.net
php_release_name: Webarchitects Co-operative Debian Packages
php_release_email: deb@webarch.net
php_gpg_id: EB612F9FE81381F8F3E58874495739F6CAA6F12D
roles:
- build
---
vars:
php_sockets: 4096
php_distro: stretch
php_repo_domain: deb.webarch.net
php_release_name: Webarchitects Co-operative Debian Packages
php_release_email: deb@webarch.net
php_gpg_id: EB612F9FE81381F8F3E58874495739F6CAA6F12D
......@@ -133,3 +133,12 @@
template:
src: templates/index.shtml.j2
dest: /build/repo/index.shtml
- name: Import the GPG key
apt_key:
id: "{{ php_gpg_id }}"
file: /build/repo/pub/gpg
state: present
- name: Add local repo to sources
shell: echo 'deb file:/build/repo ./' > /etc/apt/sources.list.d/local.list
---
- name: Import the GPG key
apt_key:
id: "{{ php_gpg_id }}"
file: /build/repo/pub/gpg
state: present
- name: Add local repo to sources
shell: echo 'deb file:/build/repo ./' > /etc/apt/sources.list.d/local.list
- name: Install Apache and PHP
apt:
pkg:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment