Remove Puppet 5 testing
We have pivoted to Ansible and We don't use puppet5 anywhere. Stop testing on Bionic as we're not really interested in maintaing it, and remove the puppet-install installation path there so we don't have code that isn't being tested. Change-Id: Ia2d05f7c75e46bc01717d11457b832e42522fa95
This commit is contained in:
parent
33773388a1
commit
4fa8e22ffc
@ -10,8 +10,5 @@
|
||||
- role: puppet-install
|
||||
puppet_install_version: 4
|
||||
|
||||
- name: Install puppet5
|
||||
hosts: puppet5
|
||||
roles:
|
||||
- role: puppet-install
|
||||
puppet_install_version: 5
|
||||
# NOTE(ianw) 2020-06 : we have moved away from puppet which is why we
|
||||
# don't test anything later.
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Prior versions not supported on Bionic
|
||||
- fail:
|
||||
msg: "Unsupported puppet version '{{ puppet_install_version }}' on this platform"
|
||||
when: puppet_install_version not in [5,]
|
||||
|
||||
- name: Install puppet 5 packages
|
||||
when: puppet_install_version == 5
|
||||
become: true
|
||||
block:
|
||||
- name: Install puppetlabs repo
|
||||
apt:
|
||||
deb: https://apt.puppetlabs.com/puppet5-release-bionic.deb
|
||||
|
||||
- name: Install puppet packages
|
||||
apt:
|
||||
name:
|
||||
- puppet-agent
|
||||
- ruby
|
||||
update_cache: yes
|
||||
|
||||
- name: Stop and disable puppet service
|
||||
service:
|
||||
name: puppet
|
||||
state: stopped
|
||||
enabled: no
|
||||
become: yes
|
@ -38,9 +38,6 @@
|
||||
- name: base
|
||||
label: ubuntu-bionic
|
||||
groups:
|
||||
- name: puppet5
|
||||
nodes:
|
||||
- base
|
||||
- name: openafs
|
||||
nodes:
|
||||
- base
|
||||
|
Loading…
Reference in New Issue
Block a user