system-config/playbooks/remote_puppet_afs.yaml
Monty Taylor e7342c7e3e Run AFS in zuul
Change-Id: I5ea46cbf124006e38c045e2f93a19d33a9c3db91
2020-04-08 10:46:32 -05:00

28 lines
733 B
YAML

- hosts: "afs:afsdb:!disabled"
name: "Base: install and configure puppet on puppet hosts"
roles:
- puppet-install
- disable-puppet-agent
- hosts: "afs:afsdb:!disabled"
name: "AFS: run puppet on the AFS servers"
strategy: free
roles:
- puppet
- hosts: "mirror-update:!disabled"
name: "Create key for remote vos release"
tasks:
# Note done as root because all the update scripts run as root
- name: Create vos release keypair
openssh_keypair:
path: /root/.ssh/id_vos_release
type: ed25519
register: vos_release_keypair
# Note: relies on vos_release_keypair installed to mirror above
- hosts: "afs:!disabled"
name: "Allow remote vos_release"
roles:
- vos-release