Skip to content
playbook.yml 595 B
Newer Older
nimrod's avatar
nimrod committed
---
- hosts: pelican-gitreceive-openbsd
  gather_facts: false
  roles: [adarnimrod.openbsd-bootstrap]
- hosts: pelican-gitreceive-xenial
nimrod's avatar
nimrod committed
  gather_facts: false
  roles: [adarnimrod.debian-bootstrap]
      - name: Create SSH keypair
        become: False
        local_action: command ssh-keygen -t rsa -N '' -f files/id_rsa
        run_once: True
        args:
            creates: files/id_rsa
nimrod's avatar
nimrod committed
  roles:
    - role: adarnimrod.nginx
    - role: pelican-gitreceive
      pelican_gitreceive_public_keys: ['{{ lookup("file", "id_rsa.pub") }}']