- hosts: 'puppet4'
  name: "Puppet-version: install puppet-4 on puppet-4 hosts"
  gather_facts: false
  tasks:
  - git:
      repo: https://git.openstack.org/openstack-infra/system-config
      dest: /opt/system-config
      force: yes
  - shell: ./install_puppet.sh
    args:
      chdir: /opt/system-config
    environment:
      PUPPET_VERSION: 4