1234567891011121314151617181920212223242526272829303132333435 |
- ---
- - name: Hardening RIPE NCC Atlas SW probe service
- become: true
- template:
- src: templates/ripe-atlas.service.j2
- dest: "/lib/systemd/system/ripe-atlas.service"
- mode: 0644
- - name: Reload RIPE NCC Atlas SW probe service
- become: true
- systemd:
- daemon_reload: true
- - name: Enable RIPE Atlas
- become: true
- systemd:
- name: ripe-atlas.service
- state: restarted
- enabled: true
- masked: false
- - name: Getting key
- become: true
- command:
- cmd: cat /etc/ripe-atlas/probe_key.pub
- register: sshkey
- - name: "IMPORTANT: Add this key to your ripe atlas account!!!"
- debug:
- msg: "{{ sshkey.stdout }}"
- - name: Pause for adding key
- pause:
- prompt: "Enter to continue."
|