summaryrefslogtreecommitdiff
path: root/baserock_ostree/ostree-access-config.yml
blob: f23cc5f9fa2f3df03f2f1c18ddde42fb8c76bbc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Access configuration for Baserock OStree cache server.
---
- hosts: ostree
  gather_facts: false
  sudo: yes
  tasks:
  - name: authorized SSH keys for ostree (cache) user
    authorized_key:
      user: ostree
      key: '{{ lookup("file", "{{item}}") }}'
    with_items:
    - keys/baserock-gitlab-ci.key.pub
    - keys/garyperkins.key.pub
    - keys/jonathanmaw.key.pub
    - keys/pedroalvarez.key.pub
    - keys/samthursfield.key.pub

  - name: authorized SSH keys for ostree-releases user
    authorized_key:
      user: ostree-releases
      key: '{{ lookup("file", "{{item}}") }}'
    with_items:
    - keys/baserock-gitlab-ci.key.pub
    - keys/garyperkins.key.pub
    - keys/pedroalvarez.key.pub
    - keys/samthursfield.key.pub